:root {
    --blue: #1677ff;
    --green: #18bc9c;
    --red: #ed3c2b;
    --text: #1a1a1a;
    --muted: #777;
    --line: #e8e8e8;
    --bg: #f6f7fb;
    --card: #fff;
}

* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font:
        14px/1.5 Arial,
        "Microsoft YaHei",
        sans-serif;
    padding-top: 60px;
    padding-bottom: 66px;
}
a {
    color: inherit;
    text-decoration: none;
}
button,
input,
select,
textarea {
    font: inherit;
}
button {
    cursor: pointer;
}
.image-fallback {
    object-fit: contain !important;
    background: #eef4ff;
}
.container {
    width: min(1300px, calc(100% - 24px));
    margin: 0 auto;
}

.topbar {
    position: fixed;
    z-index: 50;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: #fff;
    border-bottom: 1px solid #efefef;
    box-shadow: 0 1px 4px rgba(32, 35, 51, 0.04);
}
.topbar .container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.brand img {
    height: 58px;
    display: block;
}
.nav {
    display: flex;
    align-items: center;
    gap: 4px;
    height: 100%;
}
.nav a,
.nav-btn {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 13px;
    border: 0;
    background: transparent;
    color: #333;
}
.nav a:hover,
.nav-btn:hover {
    background: #f7f9fc;
    color: var(--blue);
}
.lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    margin-left: 8px;
    padding: 2px;
    border: 1px solid #e5ebf3;
    border-radius: 6px;
    background: #fff;
}
.lang-switch .lang-link {
    height: 28px;
    padding: 0 8px;
    border-radius: 4px;
    font-size: 12px;
    line-height: 28px;
    color: #5f6b7a;
}
.lang-switch .lang-link.active {
    color: #fff;
    background: var(--blue);
}
.mobile-lang-section a.active {
    color: var(--blue);
    font-weight: 700;
}
.mobile-menu-btn {
    display: none;
    width: 40px;
    height: 40px;
    border: 0;
    background: transparent;
    padding: 8px;
}
.mobile-menu-btn span {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: #333;
    border-radius: 2px;
}
.mobile-menu-mask {
    position: fixed;
    inset: 0;
    z-index: 110;
    display: none;
    background: rgba(0, 0, 0, 0.42);
}
.mobile-menu-mask.show {
    display: block;
}
.mobile-menu {
    position: fixed;
    z-index: 111;
    top: 0;
    right: 0;
    width: min(82vw, 320px);
    height: 100vh;
    overflow-y: auto;
    background: #fff;
    box-shadow: -16px 0 40px rgba(0, 0, 0, 0.18);
    transform: translateX(100%);
    transition: transform 0.2s ease;
}
.mobile-menu.show {
    transform: translateX(0);
}
.mobile-menu-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    border-bottom: 1px solid #eee;
}
.mobile-menu-head img {
    height: 46px;
}
.mobile-menu-head button {
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: #f5f5f5;
    font-size: 20px;
}
.mobile-menu-section,
.mobile-menu-cats {
    display: grid;
    gap: 0;
}
.mobile-menu-section a,
.mobile-menu-cats a {
    padding: 12px 16px;
    border-bottom: 1px solid #f1f1f1;
}
.mobile-menu-cats {
    grid-template-columns: repeat(2, 1fr);
}
.mobile-menu-title {
    padding: 11px 16px;
    background: #f7f9fc;
    color: #777;
    font-weight: 700;
}
.dropdown {
    position: relative;
    height: 100%;
}
.dropdown-menu {
    display: none;
    position: absolute;
    right: 0;
    top: 59px;
    width: 142px;
    padding: 6px 0;
    background: #fff;
    border: 1px solid #eee;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
}
.dropdown:hover .dropdown-menu {
    display: block;
}
.dropdown-menu a {
    height: auto;
    padding: 9px 14px;
    display: block;
}

.announce {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 36px;
    margin: 10px 0;
    padding: 5px 12px;
    background: #fff;
    border-radius: 3px;
    overflow: hidden;
}
.announce img {
    height: 15px;
}
.announce marquee {
    color: #4a4a4a;
}

.category-strip {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 10px;
    margin: 12px 0 18px;
}
.category-btn {
    min-height: 88px;
    padding: 12px 4px;
    text-align: center;
    background: #fff;
    border: 1px solid #f1f1f1;
    border-radius: 4px;
    color: #333;
    box-shadow: 0 1px 1px rgba(32, 35, 51, 0.03);
}
.category-btn:hover,
.category-btn.active {
    border-color: var(--blue);
    color: var(--blue);
}
.category-btn img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    display: block;
    margin: 0 auto 7px;
}
.goods-listing-page .primary-category-strip .category-btn {
    min-height: 117px;
    padding: 8px 2px;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}
.goods-listing-page .primary-category-strip .category-btn:hover,
.goods-listing-page .primary-category-strip .category-btn.active {
    border-color: transparent;
}
.goods-listing-page .primary-category-strip .category-btn img {
    width: 68px;
    height: 68px;
    border-radius: 8px;
}

.section-title {
    margin: 22px 0 14px;
    font-size: 20px;
    font-weight: 700;
}
.category-section {
    margin-bottom: 28px;
}
.empty-category {
    color: var(--muted);
    text-align: center;
}
.goods-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 15px;
}
.goods-card {
    position: relative;
    overflow: hidden;
    background: #fff;
    border: 1px solid #f3f3f3;
    border-radius: 3px;
    box-shadow:
        0 1px 1px rgba(32, 35, 51, 0.04),
        0 2px 4px rgba(32, 35, 51, 0.02);
}
.goods-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}
.goods-card img.cover {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
    background: #f4f6fa;
}
.goods-card-body {
    padding: 12px;
    min-height: 146px;
    display: flex;
    flex-direction: column;
}
.goods-info {
    min-width: 0;
}
.goods-title {
    min-height: 42px;
    font-weight: 700;
    color: #222;
    line-height: 1.45;
}
.goods-desc {
    margin: 6px 0 10px;
    color: #666;
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.goods-bottom {
    margin-top: auto;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 8px;
}
.price {
    color: #ed3c2b;
    font-weight: 700;
    font-size: 18px;
}
.price small {
    font-size: 12px;
    font-weight: 400;
}
.buy-pill {
    border: 0;
    border-radius: 4px;
    background: var(--blue);
    color: #fff;
    padding: 7px 12px;
    white-space: nowrap;
}
.hot-tag {
    position: absolute;
    right: 8px;
    top: 8px;
    padding: 3px 8px;
    border-radius: 2px;
    background: #fff3ed;
    color: #f05a28;
    font-size: 12px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.goods-listing-page .category-section {
    margin-bottom: 18px;
    padding: 14px 14px 22px;
    background: #fff;
    border: 1px solid #ededed;
    border-radius: 2px;
    box-shadow: 0 1px 4px rgba(32, 35, 51, 0.05);
}
.goods-listing-page .section-title {
    margin: 0 0 18px;
    padding: 0 0 13px 2px;
    border-bottom: 1px solid #eee;
    color: #1b1f24;
    font-size: 18px;
    line-height: 1.35;
}
.goods-listing-page .goods-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}
.goods-listing-page .goods-card {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 12px;
    min-height: 112px;
    padding: 0;
    border-color: #f0f0f0;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(32, 35, 51, 0.04);
}
.goods-listing-page .goods-card img.cover {
    width: 112px;
    height: 112px;
    padding: 7px;
    aspect-ratio: auto;
    object-fit: contain;
    background: #fff;
}
.goods-listing-page .goods-card-body {
    display: grid;
    grid-template-rows: auto 40px;
    align-content: space-between;
    min-height: 112px;
    padding: 0;
    overflow: hidden;
}
.goods-listing-page .goods-title {
    min-height: 0;
    margin: 2px 0 10px;
    padding-right: 10px;
    color: #111;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.goods-listing-page .goods-desc {
    margin: 0;
    padding-right: 10px;
    color: #767676;
    font-size: 12px;
    line-height: 1.5;
}
.goods-listing-page .goods-bottom {
    position: relative;
    min-height: 40px;
    margin-top: auto;
    padding: 0 88px 0 8px;
    align-items: center;
    background: #ffe9a6;
    border-radius: 4px 0 0 4px;
    overflow: hidden;
}
.goods-listing-page .price {
    color: #a94b00;
    font-size: 18px;
    line-height: 1;
}
.goods-listing-page .price small {
    margin-left: 1px;
    color: #8f4a14;
}
.goods-listing-page .buy-pill {
    position: absolute;
    right: 0;
    top: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    width: 78px;
    height: 100%;
    padding: 0 8px 0 16px;
    border-radius: 4px 4px 4px 0;
    background: #ff241f;
    color: #fff;
    clip-path: polygon(18px 0, 100% 0, 100% 100%, 0 100%);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.15;
    text-align: center;
}
.goods-listing-page .buy-pill > span {
    display: block;
    line-height: 1.1;
    white-space: nowrap;
}
.goods-listing-page .buy-pill small {
    display: block;
    margin-top: 0;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.1;
    white-space: nowrap;
}

.goods-hero {
    background: linear-gradient(135deg, #2264d8, #163d84);
    color: #fff;
    margin: -10px 0 0;
    padding: 36px 0;
}
.goods-meta {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: center;
}
.goods-main {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
}
.goods-main img {
    width: 120px;
    height: 120px;
    border-radius: 6px;
    object-fit: cover;
    background: #fff;
}
.goods-name {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.6;
    max-width: 700px;
}
.promise {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 12px;
    color: rgba(255, 255, 255, 0.74);
}
.goods-trust-list {
    gap: 10px 14px;
}
.goods-trust-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-weight: 600;
}
.goods-trust-emoji {
    width: 18px;
    flex: 0 0 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    line-height: 1;
}
.goods-sale {
    color: rgba(255, 255, 255, 0.74);
    white-space: nowrap;
}
.goods-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 24px;
    margin-top: 18px;
}
.panel {
    background: #fff;
    border: 1px solid #f1f1f1;
    border-radius: 4px;
    padding: 18px;
}
.step-title {
    font-weight: 700;
    margin-bottom: 14px;
    font-size: 15px;
}
.sku-grid {
    display: grid;
    gap: 12px;
}
.sku-grid.spec-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.sku-item {
    min-height: 47px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 9px 14px;
    border: 1px solid #d8d8d8;
    border-radius: 8px;
    background: #fff;
}
.sku-item.checked {
    border: 2px solid #1452fa;
    background: rgba(20, 117, 250, 0.1);
    color: #1475fa;
}
.sku-item.disabled {
    opacity: 0.48;
    cursor: not-allowed;
    background: #f8f8f8;
}
.sku-price {
    color: #df1e1c;
    font-weight: 700;
    white-space: nowrap;
}
.spec-sku {
    position: relative;
    min-height: 48px;
    padding: 10px 68px 10px 14px;
}
.spec-sku.has-badge {
    padding-top: 16px;
}
.spec-badge {
    position: absolute;
    top: -9px;
    right: 8px;
    z-index: 1;
    max-width: 80px;
    padding: 1px 5px;
    border: 1px solid #ff3b30;
    border-radius: 4px;
    background: #fff;
    color: #ff2d20;
    font-size: 11px;
    font-weight: 700;
    line-height: 15px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.spec-sku.has-badge .sku-side {
    top: 62%;
}
.sku-main {
    display: flex;
    align-items: center;
    gap: 0;
    min-width: 0;
}
.sku-main b {
    min-width: 0;
    color: #111;
    font-size: 13px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.sku-side {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    display: grid;
    justify-items: end;
}
.sku-side strong {
    color: #df1e1c;
    font-size: 14px;
    line-height: 1;
}
.quick-number-box {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}
.num-item {
    height: 50px;
    border: 1px solid #d8d8d8;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #fff;
}
.num-item.active {
    border: 2px solid #afd1ff;
    background: #edf5ff;
    color: #1475fa;
}
.counter {
    display: flex;
    width: 114px;
    height: 40px;
    border: 1px solid #d8d8d8;
    border-radius: 8px;
    overflow: hidden;
}
.counter button {
    width: 36px;
    border: 0;
    background: #f7f7f7;
}
.counter input {
    min-width: 0;
    flex: 1;
    border: 0;
    text-align: center;
    outline: 0;
}
.form-control {
    width: 100%;
    height: 42px;
    border: 1px solid #d8d8d8;
    border-radius: 4px;
    padding: 0 12px;
    background: #fff;
    outline: 0;
}
.form-control:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(22, 119, 255, 0.12);
}
.buy-summary {
    border-top: 1px solid #ebebeb;
    padding-top: 18px;
}
.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
}
.primary-btn {
    width: 100%;
    height: 42px;
    border: 0;
    border-radius: 8px;
    color: #fff;
    background: var(--blue);
    font-weight: 700;
}
.default-btn {
    height: 38px;
    border: 1px solid #d8d8d8;
    border-radius: 4px;
    background: #fff;
    padding: 0 16px;
}

.auth-wrap,
.simple-wrap {
    max-width: 520px;
    margin: 28px auto;
}
.order-query-wrap {
    width: min(1300px, calc(100% - 24px));
    max-width: 1300px;
}
.order-query-card {
    width: 100%;
}
.order-query-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
}
.order-query-label {
    grid-column: 1 / -1;
    margin-bottom: 0;
}
.order-query-input {
    min-width: 0;
    margin-bottom: 0;
}
.order-query-submit {
    width: 140px;
    height: 42px;
    align-self: center;
}
.auth-box h2,
.page-header {
    margin: 0 0 18px;
    font-size: 22px;
}
.field {
    margin-bottom: 14px;
}
.hint {
    color: #777;
    font-size: 13px;
    margin-top: 8px;
}
.member-layout {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 18px;
    margin-top: 20px;
}
.side-list {
    padding: 0;
    margin: 0;
    list-style: none;
    background: #fff;
    border: 1px solid #eee;
}
.side-heading {
    padding: 10px 15px;
    background: #f7f7f7;
    color: #777;
    font-weight: 700;
}
.side-list a {
    display: block;
    padding: 10px 15px;
    border-top: 1px solid #f2f2f2;
}
.side-list a.active,
.side-list a:hover {
    background: #067aff;
    color: #fff;
}
.profile-card {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 18px;
    align-items: center;
}
.avatar {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: #e9f0ff;
    display: grid;
    place-items: center;
    color: var(--blue);
    font-size: 34px;
    font-weight: 700;
}
.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 18px;
}
.stat {
    background: #fff;
    border: 1px solid #eee;
    padding: 14px;
    text-align: center;
}
.stat b {
    display: block;
    color: var(--blue);
    font-size: 20px;
}
.table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}
.table th,
.table td {
    border-bottom: 1px solid #eee;
    padding: 10px;
    text-align: center;
}
.table th {
    background: #f8f8f8;
}
.table-wrap {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.table-wrap .table {
    min-width: 680px;
}
.order-list-detail-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}
.tab {
    border: 1px solid #d8d8d8;
    background: #fff;
    padding: 8px 16px;
    border-radius: 4px;
}
.tab.active {
    background: var(--blue);
    border-color: var(--blue);
    color: #fff;
}

/* 订单详情：入口来自会员中心订单列表，样式保持 202605 会员页的轻量表格体系。 */
.order-detail-page {
    align-items: start;
}
.order-detail-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 14px;
}
.order-detail-head .page-header {
    margin-bottom: 0;
    word-break: break-all;
}
.order-detail-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}
.order-detail-actions .default-btn,
.order-card-head .default-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.order-summary-panel {
    margin-bottom: 14px;
}
.order-summary-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}
.order-summary-grid div {
    min-width: 0;
    padding: 12px;
    background: #f8fafc;
    border: 1px solid #eef1f5;
    border-radius: 4px;
}
.order-summary-grid span,
.order-info-item span {
    display: block;
    color: var(--muted);
    font-size: 13px;
}
.order-summary-grid b,
.order-info-item b {
    display: block;
    margin-top: 6px;
    min-width: 0;
    font-size: 15px;
    word-break: break-all;
}
.order-status-pill {
    display: inline-block !important;
    width: fit-content;
    padding: 4px 10px;
    border-radius: 999px;
    background: #eef4ff;
    color: var(--blue);
}
.order-detail-tabs {
    position: sticky;
    top: 60px;
    z-index: 8;
    padding: 10px 0 12px;
    background: var(--bg);
}
.order-tab-panel {
    display: none;
}
.order-tab-panel.active {
    display: block;
}
.order-info-panel {
    margin-bottom: 14px;
}
.order-section-title {
    margin: 0 0 12px;
    font-size: 16px;
}
.order-info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}
.order-info-item {
    min-width: 0;
    padding: 11px 12px;
    border: 1px solid #eef1f5;
    border-radius: 4px;
    background: #fff;
}
.order-info-wide {
    grid-column: 1 / -1;
}
.order-card-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}
.order-card-head .order-section-title {
    margin: 0 auto 0 0;
}
.order-detail-value img {
    max-width: 100%;
    max-height: 180px;
    object-fit: contain;
    vertical-align: middle;
}
.order-card-table td {
    word-break: break-all;
}
.grade-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}
.grade-grid.help-center-grid {
    grid-template-columns: 1fr;
}
.help-center-page {
    width: min(1760px, calc(100% - 8px));
    margin: 0 auto 28px;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
    background: #fff;
}
.help-center-banner {
    min-height: 60px;
    padding: 10px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(110deg, #c6b5ff 0%, #7b47ee 100%);
}
.help-mobile-top {
    display: none;
}
.help-category-tabs {
    width: min(1460px, 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}
.help-category-tab {
    min-width: 104px;
    min-height: 34px;
    padding: 0 18px;
    border: 1px solid rgba(255, 255, 255, 0.56);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition:
        background 0.18s ease,
        color 0.18s ease,
        border-color 0.18s ease;
}
.help-category-tab:hover,
.help-category-tab.is-active {
    border-color: #fff;
    background: #fff;
    color: #6f3ff0;
}
.help-center-shell {
    display: grid;
    grid-template-columns: 336px minmax(0, 1fr);
    min-height: 514px;
    background: #fff;
}
.help-category-panel {
    display: none;
}
.help-category-panel.is-active {
    display: grid;
}
.help-guide-sidebar {
    min-width: 0;
    padding: 22px 28px;
    border-right: 1px solid #e2e5ec;
    background: #fff;
}
.help-guide-side-title {
    margin-bottom: 12px;
    color: #4b5565;
    font-size: 13px;
}
.help-guide-menu {
    display: grid;
    gap: 2px;
}
.help-guide-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 38px;
    color: #3d4b5f;
}
.help-guide-link-category {
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    font: inherit;
    text-align: left;
    cursor: pointer;
}
.help-guide-link-category.is-empty {
    cursor: default;
}
.help-guide-link span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.help-guide-link b {
    color: #667085;
    font-size: 22px;
    line-height: 1;
    font-weight: 400;
    transition: transform 0.18s ease;
}
.help-guide-article-list {
    display: none;
    padding-left: 14px;
}
.help-guide-menu-group.is-open .help-guide-article-list {
    display: grid;
    gap: 2px;
}
.help-guide-menu-group.is-open .help-guide-link-category b {
    transform: rotate(90deg);
}
.help-guide-link:hover {
    color: var(--blue);
}
.help-guide-main {
    min-width: 0;
    padding: 18px 10px 12px;
    background: #f7f7f8;
}
.help-guide-heading {
    margin: 0 0 34px;
    padding-top: 2px;
    color: #111827;
    font-size: 18px;
    line-height: 1.4;
    text-align: center;
}
.help-guide-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}
/* 帮助中心按分类分组，分类内文章单列展示，保证教程内容有完整阅读宽度。 */
.help-guide-category {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    scroll-margin-top: 78px;
}
.help-guide-category h2 {
    grid-column: 1 / -1;
    margin: 0 0 2px;
    font-size: 18px;
    font-weight: 700;
    color: #1f2d3d;
}
.help-guide-category .help-guide-card-empty {
    grid-column: 1 / -1;
}
.help-guide-card {
    min-width: 0;
    overflow: hidden;
    scroll-margin-top: 78px;
    border: 1px solid #e9edf3;
    border-radius: 5px;
    background: #fff;
}
.help-guide-card-head {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    width: 100%;
    min-height: 58px;
    padding: 0 16px;
    border: 0;
    background: #fff;
    color: #1f2937;
    text-align: left;
}
.help-guide-card-link {
    cursor: pointer;
    text-decoration: none;
}
.help-guide-card-link:hover {
    background: #f7faff;
}
.help-guide-card-link:hover strong,
.help-guide-card-link:hover i {
    color: var(--blue);
}
.help-guide-card-head strong {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.help-guide-icon {
    display: grid;
    place-items: center;
    width: 21px;
    height: 21px;
    border: 1px solid #6aa1ff;
    border-radius: 50%;
    color: #3d7cff;
    font-size: 12px;
    line-height: 1;
}
.help-guide-card-head i {
    color: #9aa3af;
    font-style: normal;
    transition: color 0.18s ease;
}
.service-center-page-body {
    padding-top: 0;
    background: #f5f6fb;
}
.service-center-page-body .topbar,
.service-center-page-body .side-float {
    display: none;
}
.service-center-page {
    width: min(1760px, calc(100% - 8px));
    min-height: calc(100vh - 28px);
    margin: 0 auto 28px;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
    background: #f5f6fb;
}
.service-center-banner {
    position: relative;
    min-height: 276px;
    overflow: hidden;
    background: url("../img/help_bg.png") center top / cover no-repeat;
}
.service-mobile-top {
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
    right: 0;
    display: grid;
    grid-template-columns: 78px minmax(0, 1fr) 78px;
    align-items: center;
    height: 54px;
    padding: 0 12px;
    color: #fff;
}
.service-mobile-top strong {
    min-width: 0;
    overflow: hidden;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 15px;
}
.service-mobile-back {
    width: 34px;
    height: 34px;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 34px;
    line-height: 1;
    text-align: left;
    cursor: pointer;
}
.service-center-shell {
    position: relative;
    z-index: 3;
    margin-top: -84px;
    padding: 0 10px 40px;
}
.service-action-list {
    display: grid;
    gap: 10px;
}
.service-action-card {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) 24px;
    align-items: center;
    gap: 18px;
    width: 100%;
    min-height: 94px;
    padding: 0 16px;
    border: 0;
    border-radius: 5px;
    background: #fff;
    color: #111827;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
}
.service-action-card:hover {
    color: #111827;
    box-shadow: 0 8px 24px rgba(43, 95, 203, 0.08);
    transform: translateY(-1px);
}
.service-action-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
}
.service-action-icon img {
    width: 38px;
    height: 38px;
    object-fit: contain;
}
.service-action-copy {
    min-width: 0;
    display: grid;
    gap: 8px;
}
.service-action-copy strong {
    min-width: 0;
    color: #111827;
    font-size: 16px;
    line-height: 1.25;
}
.service-action-copy em {
    min-width: 0;
    color: #a3aab5;
    font-size: 12px;
    font-style: normal;
    line-height: 1.35;
}
.service-action-card i {
    justify-self: end;
    color: #111827;
    font-size: 28px;
    font-style: normal;
    line-height: 1;
}
.service-hours {
    display: grid;
    gap: 14px;
    margin-top: 24px;
    color: #2678ff;
    text-align: center;
    font-size: 15px;
    line-height: 1.5;
}
.service-hours p {
    margin: 0;
}
.service-hours strong {
    font-weight: 700;
}
.service-qr-mask {
    position: fixed;
    z-index: 1200;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(17, 24, 39, 0.48);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease;
}
.service-qr-mask.is-show {
    opacity: 1;
    pointer-events: auto;
}
.service-qr-dialog {
    position: relative;
    width: min(320px, 100%);
    padding: 24px 20px 22px;
    border-radius: 8px;
    background: #fff;
    text-align: center;
    box-shadow: 0 18px 54px rgba(15, 23, 42, 0.24);
}
.service-qr-dialog h3 {
    margin: 0 32px 18px;
    color: #111827;
    font-size: 18px;
    line-height: 1.35;
}
.service-qr-dialog img {
    width: 176px;
    height: 176px;
    object-fit: contain;
}
.service-qr-dialog p {
    margin: 14px 0 0;
    color: #5f6b7a;
    font-size: 14px;
}
.service-qr-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 50%;
    background: #f3f4f8;
    color: #667085;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}
.service-qr-empty {
    padding: 46px 12px;
    border-radius: 6px;
    background: #f6f8fb;
    color: #667085;
}
.article-body {
    overflow-wrap: anywhere;
}
.article-body > * {
    max-width: 100%;
}
.article-body img,
.article-body video {
    max-width: 100%;
    height: auto;
}
.article-body iframe {
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
}
.ql-video {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    border: 0;
    background: #000;
}
.article-body table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.article-body pre,
.article-body code,
.article-body a {
    overflow-wrap: anywhere;
    word-break: break-word;
}
.help-guide-card-empty,
.help-guide-empty {
    color: var(--muted);
}
.help-guide-card-empty {
    padding: 18px;
    text-align: center;
}
.help-news-main {
    grid-column: 1 / -1;
    min-height: 514px;
}
.help-news-list {
    width: min(860px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}
.help-news-item {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    min-height: 50px;
    padding: 0 16px;
    border: 1px solid #e9edf3;
    border-radius: 5px;
    background: #fff;
    color: #1f2d3d;
}
.help-news-item:hover {
    color: var(--blue);
    border-color: #c7d7ff;
}
.help-news-item strong {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.help-news-item em {
    color: #9aa3af;
    font-style: normal;
    font-size: 20px;
}
.help-news-dot {
    color: #3d7cff;
    font-size: 12px;
}
.help-news-empty {
    padding: 18px;
    border: 1px solid #e9edf3;
    border-radius: 5px;
    background: #fff;
    color: var(--muted);
    text-align: center;
}
.grade-card {
    border: 1px solid #e2e2e2;
    background: #fff;
    border-radius: 4px;
    padding: 16px;
}
.grade-card h3 {
    margin: 0 0 10px;
    font-size: 16px;
}
.member-upgrade-layout {
    align-items: start;
}
.member-upgrade-side .side-list {
    padding: 16px;
}
.member-upgrade-side p {
    margin: 8px 0 14px;
    color: var(--muted);
    line-height: 1.7;
}
.member-upgrade-login {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 38px;
}
.member-upgrade-panel {
    padding: 18px;
}
.member-upgrade-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}
.member-upgrade-head p {
    margin: 0;
    color: var(--muted);
}
.member-upgrade-balance {
    color: var(--blue);
    font-weight: 700;
    white-space: nowrap;
}
.member-benefit-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin: 12px 0 18px;
}
.member-benefit-list span {
    min-height: 42px;
    display: flex;
    align-items: center;
    padding: 9px 10px;
    border: 1px solid #f0d36b;
    border-radius: 6px;
    background: #fff6cf;
    color: #7a4b00;
    font-size: 13px;
    font-weight: 700;
}
.member-level-grid {
    grid-template-columns: repeat(3, 1fr);
}
.member-level-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 300px;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}
.member-level-card.active {
    border-color: var(--blue);
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.16);
    transform: translateY(-2px);
}
.member-level-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.member-level-top h3 {
    margin: 0;
}
.member-level-top span {
    padding: 3px 8px;
    border-radius: 999px;
    background: #edf5ff;
    color: var(--blue);
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}
.member-level-price {
    margin: 0;
    color: #e53935;
    font-size: 24px;
    font-weight: 800;
}
.member-level-discount {
    margin: 0;
    color: #7a4b00;
    font-weight: 700;
}
.member-level-goods-price {
    margin: 0;
    color: var(--muted);
}
.member-level-rights {
    flex: 1;
    margin: 0;
    padding: 0;
    list-style: none;
    color: #31415c;
    line-height: 1.9;
}
.member-level-rights li::before {
    content: "✓";
    color: #16a34a;
    font-weight: 800;
    margin-right: 6px;
}
.member-level-empty {
    grid-column: 1 / -1;
}
.upgrade-confirm-text {
    margin: 0;
    line-height: 1.8;
    color: #1f2d3d;
}
.upgrade-confirm-actions {
    margin-top: 18px;
}

.modal-mask {
    position: fixed;
    z-index: 200;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.45);
}
.modal-mask.show {
    display: flex;
}
.pay-modal {
    width: min(800px, calc(100vw - 24px));
    max-height: calc(100vh - 40px);
    max-height: calc(100dvh - 40px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: linear-gradient(to top, #fff, #fff, #f5f4fe, #a3c7f9);
    border-radius: 15px;
    box-shadow: 0 22px 70px rgba(0, 0, 0, 0.22);
}
.modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px 0;
}
.modal-close {
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.7);
}
.modal-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 16px;
    align-items: start;
    min-height: 0;
    overflow-y: auto;
    padding: 18px;
}
/* 增值服务隐藏字段只用于提交，不能参与弹窗 grid 排版。 */
.modal-body > #selected-value-added-services {
    display: none;
}
.modal-section {
    background: rgba(255, 255, 255, 0.76);
    border-radius: 8px;
    padding: 14px;
}
.modal-body > div .modal-section + .modal-section {
    margin-top: 12px;
}
.mobile-order-brief {
    display: none;
}
.server-item,
.pay-item,
.value-service-item {
    border: 1px solid #d8d8d8;
    background: #fff;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 10px;
    position: relative;
}
.server-item.active,
.pay-item.active,
.value-service-item.active {
    border: 2px solid var(--blue);
    background: #edf5ff;
}
.pay-methods {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}
.pay-item {
    margin: 0;
}
.value-service-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}
.value-service-item {
    margin: 0;
    text-align: left;
    cursor: pointer;
}
.value-service-item b {
    display: block;
    color: #1f2d3d;
    margin-bottom: 4px;
}
.value-service-item span {
    color: #ed3c2b;
    font-size: 12px;
}
.order-lines {
    padding: 0;
    margin: 0;
    list-style: none;
}
.order-lines li {
    display: flex;
    justify-content: space-between;
    padding: 9px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.pay-button {
    margin-top: 14px;
    height: 42px;
    border: 0;
    border-radius: 5px;
    background: var(--blue);
    color: #fff;
    font-weight: 700;
    width: 100%;
}
.pay-button:disabled,
.pay-button.loading {
    opacity: 0.72;
    cursor: not-allowed;
    pointer-events: none;
}
.member-upgrade-ad {
    margin-top: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 54px;
    padding: 9px 12px;
    border: 2px solid #ef4444;
    border-radius: 4px;
    background: #ffe894;
    color: #7a4b00;
    line-height: 1.45;
    font-size: 13px;
    font-weight: 700;
}
.member-upgrade-ad:hover {
    color: #7a4b00;
    text-decoration: none;
}
.member-upgrade-ad b {
    color: var(--blue);
    white-space: nowrap;
}
.member-upgrade-tag {
    flex: 0 0 auto;
    color: #ef4444;
    font-weight: 800;
}

.float-app {
    position: fixed;
    left: 0;
    bottom: 171px;
    z-index: 40;
}
.float-app img {
    width: 90px;
    display: block;
}
.float-app button {
    position: absolute;
    right: -8px;
    top: 8px;
    border: 0;
    border-radius: 50%;
    background: #fff;
    width: 18px;
    height: 18px;
    line-height: 18px;
}
.side-float {
    position: fixed;
    right: 10px;
    top: 180px;
    z-index: 40;
    width: 86px;
}
.side-float-item {
    display: block;
    width: 100%;
    background: #fff;
    border: 0;
    border-bottom: 1px solid #f0f0f0;
    padding: 10px 6px;
    text-align: center;
    box-shadow: 0 0 16px rgba(209, 216, 226, 0.5);
    cursor: pointer;
    font-size: 12px;
    color: inherit;
}
.side-float-item:first-child {
    border-radius: 8px 8px 0 0;
}
.side-float-item:last-child {
    border-radius: 0 0 8px 8px;
}
.mobile-footer {
    display: flex;
    position: fixed;
    left: 0;
    bottom: 0;
    z-index: 80;
    width: 100%;
    background: #fff;
    border-top: 1px solid #efefef;
    justify-content: space-around;
    text-align: center;
    color: gray;
    padding-top: 3px;
}
.mobile-footer a {
    width: 20%;
    padding: 3px 0;
    font-size: 12px;
}
.mobile-footer img {
    width: 24px;
    display: block;
    margin: 0 auto;
}
.mobile-buybar {
    display: none;
    position: fixed;
    left: 0;
    bottom: 51px;
    z-index: 70;
    width: 100%;
    background: #fff;
    box-shadow: 0 -3px 12px rgba(0, 0, 0, 0.06);
}
.mobile-buybar-inner {
    display: grid;
    grid-template-columns: 35% 65%;
}
.mobile-kf {
    border: 0;
    color: #fff;
    background: #333;
    font-weight: 700;
    padding: 12px;
}
.mobile-buy {
    border: 0;
    color: #fff;
    background: var(--blue);
    font-weight: 700;
    padding: 12px;
}
.toast {
    position: fixed;
    z-index: 300;
    left: 50%;
    top: 80px;
    transform: translateX(-50%);
    display: none;
    max-width: calc(100vw - 32px);
    background: rgba(0, 0, 0, 0.78);
    color: #fff;
    border-radius: 4px;
    padding: 9px 14px;
}
.toast.show {
    display: block;
}
.footer-text {
    text-align: center;
    color: #777;
    padding: 32px 0 18px;
}
.article-body {
    color: #333;
    font-size: 15px;
    line-height: 1.9;
}
.article-body p {
    margin: 0 0 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f1f1;
}
.goods-detail-area {
    margin-top: 18px;
}
/* 商品详情下方右侧推荐分类，与顶部购买栏保持同宽对齐。 */
.goods-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 24px;
    align-items: start;
}
.recommend-category-aside {
    min-width: 0;
}
.recommend-category-panel {
    min-height: 260px;
}
.recommend-category-list {
    display: grid;
    gap: 10px;
}
.recommend-category-item {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 8px 10px;
    color: #283142;
    background: #f8fbff;
    border: 1px solid #edf0f5;
    border-radius: 4px;
}
.recommend-category-item:hover {
    color: var(--blue);
    border-color: var(--blue);
    background: #f4f8ff;
}
.recommend-category-item img {
    width: 34px;
    height: 34px;
    object-fit: contain;
}
.recommend-category-item span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.recommend-category-item i {
    color: #a1a8b3;
    font-style: normal;
    font-weight: 700;
}
.recommend-category-empty {
    padding: 28px 0;
    color: #888;
    text-align: center;
    border: 1px dashed #e5e5e5;
    border-radius: 4px;
    background: #fafafa;
}
.detail-tabs {
    position: sticky;
    top: 60px;
    z-index: 5;
    display: flex;
    gap: 8px;
    padding-bottom: 12px;
    margin-bottom: 14px;
    border-bottom: 1px solid #eee;
    background: #fff;
}
.detail-tabs a {
    padding: 8px 14px;
    border: 1px solid #d8d8d8;
    border-radius: 4px;
    background: #fff;
    color: #333;
}
.detail-tabs a:hover {
    color: var(--blue);
    border-color: var(--blue);
}
.detail-block {
    padding: 14px 0;
    border-bottom: 1px solid #f0f0f0;
}
.detail-block:last-child {
    border-bottom: 0;
}
.detail-block h3 {
    margin: 0 0 10px;
    font-size: 18px;
}
.detail-extra {
    margin: 0 0 14px;
    padding: 12px 14px;
    background: #f8fbff;
    border: 1px solid #e7f0ff;
    border-radius: 4px;
}
.detail-extra b {
    display: block;
    margin-bottom: 6px;
}
.detail-extra p {
    margin: 0;
    color: #555;
    line-height: 1.65;
}
.detail-extra a {
    color: var(--blue);
    word-break: break-all;
}
.detail-extra span {
    margin-left: 12px;
    color: #ed3c2b;
}
.detail-content {
    margin: 0 0 14px;
    padding: 12px 14px;
    color: #333;
    line-height: 1.75;
    background: #f8fbff;
    border: 1px solid #e7f0ff;
    border-radius: 4px;
    word-break: break-word;
}
.detail-content p {
    margin: 0 0 10px;
}
.detail-content p:last-child {
    margin-bottom: 0;
}
.detail-content img {
    max-width: 100%;
    height: auto;
}
.comment-list {
    display: grid;
    gap: 12px;
}
.comment-item {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 12px;
    padding: 14px;
    border: 1px solid #eef1f6;
    border-radius: 4px;
    background: #fff;
}
.comment-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #e9f0ff;
    color: var(--blue);
    font-weight: 700;
}
.comment-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: #222;
}
.comment-meta span {
    color: #999;
    font-size: 13px;
}
.comment-stars {
    margin-top: 4px;
    color: #f5a623;
    letter-spacing: 0;
}
.comment-body p {
    margin: 8px 0 0;
    color: #555;
    line-height: 1.75;
    white-space: pre-wrap;
}
.comment-empty {
    padding: 28px 0;
    color: #888;
    text-align: center;
    border: 1px dashed #e5e5e5;
    border-radius: 4px;
    background: #fafafa;
}
.promise-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 14px;
}
.promise-grid div {
    padding: 14px;
    background: #f8fbff;
    border: 1px solid #e7f0ff;
    border-radius: 4px;
}
.promise-grid b,
.promise-grid span {
    display: block;
}
.promise-grid span {
    margin-top: 6px;
    color: #666;
    font-size: 13px;
}
.process-list {
    margin: 0;
    padding-left: 20px;
}
.process-list li {
    margin: 8px 0;
}
.record-list {
    margin: 0;
    padding: 0;
    list-style: none;
}
.record-list li {
    padding: 9px 0;
    border-bottom: 1px dashed #e5e5e5;
    color: #555;
}
.delivery-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 8px;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px dashed #e5e5e5;
}
.delivery-row span {
    min-width: 0;
    overflow-wrap: anywhere;
}
.order-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin: 16px 0;
}
.timeline-step {
    position: relative;
    padding: 12px;
    background: #f8fbff;
    border: 1px solid #e7f0ff;
    border-radius: 4px;
}
.timeline-dot {
    display: inline-grid;
    place-items: center;
    width: 24px;
    height: 24px;
    margin-bottom: 8px;
    border-radius: 50%;
    background: var(--blue);
    color: #fff;
    font-weight: 700;
}
.timeline-step b {
    display: block;
}
.timeline-step p {
    margin: 4px 0 0;
    color: #666;
    font-size: 12px;
}

@media (max-width: 1199px) {
    .category-strip {
        grid-template-columns: repeat(6, 1fr);
    }
    .goods-listing-page .primary-category-strip {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
    .goods-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .side-float,
    .float-app {
        display: none;
    }
    .order-summary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .help-center-shell {
        grid-template-columns: 260px minmax(0, 1fr);
    }
    .help-guide-sidebar {
        padding: 20px 18px;
    }
}

@media (max-width: 767px) {
    body {
        padding-top: 50px;
        padding-bottom: 114px;
    }
    .topbar {
        height: 50px;
    }
    .brand img {
        height: 48px;
    }
    .nav {
        display: none;
    }
    .mobile-menu-btn {
        display: block;
    }
    .container {
        width: min(100% - 20px, 1300px);
    }
    .help-center-page {
        width: min(100% - 20px, 1300px);
        margin-bottom: 18px;
        border-radius: 6px;
    }
    .service-center-page-body {
        padding-top: 0;
        background: #f5f6fb;
    }
    .service-center-page {
        width: 100%;
        min-height: calc(100vh - 114px);
        margin: 0;
        border-radius: 0;
    }
    .service-center-banner {
        min-height: 244px;
    }
    .service-mobile-top {
        grid-template-columns: 48px minmax(0, 1fr) 48px;
        height: 48px;
        padding: 0 12px;
    }
    .service-mobile-back {
        width: 34px;
        height: 34px;
        font-size: 34px;
    }
    .service-center-shell {
        margin-top: -82px;
        padding: 0 10px 32px;
    }
    .service-action-card {
        grid-template-columns: 42px minmax(0, 1fr) 18px;
        gap: 12px;
        min-height: 94px;
        padding: 0 12px;
    }
    .service-action-copy strong {
        font-size: 16px;
    }
    .service-action-copy em {
        font-size: 12px;
    }
    .service-action-card i {
        font-size: 26px;
    }
    .service-hours {
        margin-top: 22px;
        gap: 14px;
        padding: 0 8px;
        font-size: 14px;
    }
    .service-qr-dialog {
        width: min(300px, 100%);
    }
    /* 帮助中心移动端使用独立头图，避免普通站点头部压住背景图。 */
    body.help-center-mobile-page {
        padding-top: 0;
        background: #f5f6fb;
    }
    body.help-center-mobile-page .topbar,
    body.help-center-mobile-page .side-float {
        display: none;
    }
    body.help-center-mobile-page .help-center-page {
        margin-top: 0;
        overflow: hidden;
        border-radius: 0;
        background: #f5f6fb;
    }
    body.help-center-mobile-page .help-center-banner {
        position: relative;
        min-height: 244px;
        padding: 0;
        overflow: hidden;
        align-items: flex-start;
        background: url("../img/help_bg.png") center top / cover no-repeat;
    }
    .help-mobile-top {
        position: absolute;
        z-index: 7;
        top: 0;
        left: 0;
        right: 0;
        display: grid;
        grid-template-columns: 78px minmax(0, 1fr) 78px;
        align-items: center;
        height: 48px;
        padding: 0 12px;
        color: #fff;
    }
    .help-mobile-top strong {
        min-width: 0;
        overflow: hidden;
        text-align: center;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-size: 15px;
    }
    .help-mobile-back {
        width: 34px;
        height: 34px;
        border: 0;
        background: transparent;
        color: #fff;
        font-size: 34px;
        line-height: 1;
        text-align: left;
    }
    .help-mobile-service {
        justify-self: end;
        color: #fff;
        font-size: 12px;
        font-weight: 700;
        white-space: nowrap;
    }
    body.help-center-mobile-page .help-category-tabs {
        position: absolute;
        z-index: 6;
        top: 58px;
        left: 50%;
        width: min(340px, calc(100% - 28px));
        justify-content: center;
        gap: 6px;
        overflow-x: auto;
        flex-wrap: nowrap;
        transform: translateX(-50%);
        scrollbar-width: none;
    }
    body.help-center-mobile-page .help-category-tabs::-webkit-scrollbar {
        display: none;
    }
    body.help-center-mobile-page .help-category-tab {
        flex: 0 0 auto;
        min-width: 76px;
        min-height: 30px;
        padding: 0 12px;
        border-color: rgba(255, 255, 255, 0.68);
        background: rgba(255, 255, 255, 0.18);
        color: #fff;
        font-size: 12px;
        white-space: nowrap;
    }
    body.help-center-mobile-page .help-category-tab.is-active {
        border-color: #fff;
        background: #fff;
        color: #7045e8;
    }
    .help-center-shell {
        display: block;
        min-height: 0;
    }
    .help-category-panel {
        display: none;
    }
    .help-category-panel.is-active {
        display: block;
    }
    body.help-center-mobile-page .help-center-shell {
        position: relative;
        z-index: 5;
        margin-top: -48px;
        overflow: hidden;
        border-radius: 12px 12px 0 0;
        background: #fff;
    }
    .help-guide-sidebar {
        display: none;
    }
    .help-guide-menu {
        max-height: 220px;
        overflow-y: auto;
    }
    body.help-center-mobile-page .help-guide-main {
        min-height: 520px;
        padding: 16px 10px 24px;
        background: #fff;
    }
    body.help-center-mobile-page .help-guide-heading {
        margin: 0 -10px 18px;
        padding: 0 10px 16px;
        border-bottom: 12px solid #f7f7f8;
        font-size: 16px;
    }
    .help-guide-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .help-guide-category {
        grid-template-columns: 1fr;
        gap: 10px;
        scroll-margin-top: 58px;
    }
    .help-guide-category h2 {
        font-size: 16px;
    }
    .help-guide-card {
        scroll-margin-top: 58px;
    }
    .help-guide-card-head {
        min-height: 52px;
        padding: 0 12px;
    }
    .article-body {
        font-size: 14px;
        line-height: 1.75;
    }
    .category-strip {
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
    }
    .category-btn {
        min-height: 76px;
        font-size: 12px;
    }
    .category-btn img {
        width: 34px;
        height: 34px;
    }
    .goods-listing-page .primary-category-strip {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 3px;
    }
    .goods-listing-page .primary-category-strip .category-btn {
        min-height: 96px;
        padding: 4px 0;
    }
    .goods-listing-page .primary-category-strip .category-btn img {
        width: clamp(48px, calc((100vw - 32px) / 5), 68px);
        height: clamp(48px, calc((100vw - 32px) / 5), 68px);
        margin-bottom: 4px;
    }
    .goods-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .goods-listing-page .category-section {
        padding: 12px 10px 16px;
    }
    .goods-listing-page .goods-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .goods-listing-page .goods-card {
        grid-template-columns: 96px minmax(0, 1fr);
        min-height: 96px;
        gap: 8px;
    }
    .goods-listing-page .goods-card img.cover {
        width: 96px;
        height: 96px;
    }
    .goods-listing-page .goods-card-body {
        grid-template-rows: auto 34px;
        min-height: 96px;
    }
    .goods-listing-page .goods-title {
        margin-bottom: 8px;
        font-size: 13px;
    }
    .goods-listing-page .goods-bottom {
        min-height: 34px;
        padding-right: 86px;
    }
    .goods-listing-page .buy-pill {
        width: 78px;
        font-size: 12px;
    }
    .goods-card-body {
        padding: 9px;
        min-height: 132px;
    }
    .goods-title {
        font-size: 13px;
        min-height: 38px;
    }
    .price {
        font-size: 16px;
    }
    .buy-pill {
        padding: 6px 8px;
        font-size: 12px;
    }
    .goods-hero {
        background: #fff;
        color: #111;
        padding: 16px 0 4px;
    }
    /* 小屏商品头图和商品信息保持横向，不让库存信息挤压导致标签竖排。 */
    .goods-meta {
        display: block;
    }
    .goods-main {
        display: grid;
        grid-template-columns: 88px minmax(0, 1fr);
        align-items: center;
        gap: 12px;
    }
    .goods-main > div {
        min-width: 0;
    }
    .goods-main img {
        width: 88px;
        height: 88px;
    }
    .goods-name {
        font-size: 15px;
    }
    .promise {
        gap: 7px 12px;
        margin-top: 8px;
        color: #555;
    }
    .promise span {
        display: inline-flex;
        align-items: center;
        white-space: nowrap;
    }
    /* 窄屏卖点固定双列双排，避免商品名下方信息变成竖向长串。 */
    .goods-trust-list {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px 10px;
        width: 100%;
    }
    .goods-trust-list .goods-trust-item {
        min-width: 0;
        font-size: 12px;
        line-height: 1.3;
        white-space: normal;
        overflow-wrap: break-word;
    }
    .goods-sale {
        margin: 8px 0 0 100px;
        color: #555;
        white-space: normal;
    }
    .goods-layout {
        display: block;
        margin-top: 10px;
    }
    .panel {
        border: 0;
        border-radius: 0;
        margin-left: -10px;
        margin-right: -10px;
    }
    .sku-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .sku-grid.spec-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .sku-item {
        display: block;
        box-sizing: border-box;
        min-height: 54px;
        font-size: 12px;
        padding: 8px;
    }
    .spec-sku {
        display: flex;
        min-height: 38px;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        gap: 4px;
    }
    .spec-sku.has-badge {
        padding-top: 8px;
    }
    .spec-badge {
        top: -8px;
        right: 6px;
        max-width: 68px;
        padding: 1px 5px;
        font-size: 11px;
        line-height: 15px;
    }
    .spec-sku .sku-main b {
        display: -webkit-box;
        width: 100%;
        white-space: normal;
        line-height: 1.3;
        font-size: 11px;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }
    .spec-sku .sku-side {
        display: none;
    }
    .goods-layout aside {
        margin-top: 10px;
    }
    .goods-detail-grid {
        display: block;
    }
    body.goods-detail-page-body .service-modal-qr,
    body.goods-detail-page-body .service-modal-qr-copy {
        display: none;
    }
    .recommend-category-aside {
        margin-top: 10px;
    }
    .recommend-category-panel {
        min-height: 0;
    }
    .recommend-category-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .recommend-category-item {
        grid-template-columns: 28px minmax(0, 1fr) auto;
        min-height: 44px;
        padding: 8px;
    }
    .recommend-category-item img {
        width: 28px;
        height: 28px;
    }
    /* 小屏商品详情保留底部固定购买栏，隐藏合计区域的重复购买按钮。 */
    .summary-buy-btn {
        display: none;
    }
    .member-layout {
        display: block;
    }
    .order-query-wrap {
        width: min(100% - 20px, 1300px);
        margin-top: 16px;
    }
    .order-query-form {
        grid-template-columns: 1fr;
    }
    .order-query-submit {
        width: 100%;
    }
    /* 关键展示：窄屏订单列表从横向表格改为卡片，避免用户左右拖动查看字段。 */
    .table-wrap .order-list-table {
        min-width: 0;
        border-collapse: separate;
        background: transparent;
    }
    .order-list-table thead {
        display: none;
    }
    .order-list-table,
    .order-list-table tbody,
    .order-list-table tr,
    .order-list-table td {
        display: block;
        width: 100%;
    }
    .order-list-table tbody {
        display: grid;
        gap: 12px;
    }
    .order-list-table tr {
        padding: 12px;
        background: #fff;
        border: 1px solid #e8eef6;
        border-radius: 6px;
        box-shadow: 0 1px 4px rgba(32, 35, 51, 0.05);
    }
    .order-list-table td {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 14px;
        padding: 8px 0;
        border-bottom: 1px dashed #edf1f5;
        text-align: right;
        overflow-wrap: anywhere;
    }
    .order-list-table td::before {
        content: attr(data-label);
        flex: 0 0 88px;
        color: #667085;
        font-weight: 700;
        text-align: left;
    }
    .order-list-table td:first-child {
        padding-top: 0;
    }
    .order-list-table td.order-list-action {
        padding-bottom: 0;
        border-bottom: 0;
    }
    .order-list-table td.order-list-action::before {
        display: none;
    }
    .order-list-detail-btn {
        width: 100%;
        min-height: 36px;
    }
    .side-list {
        margin-bottom: 14px;
    }
    .order-detail-head {
        display: block;
    }
    .order-detail-actions {
        justify-content: flex-start;
        margin-top: 10px;
    }
    .order-detail-actions .default-btn,
    .order-card-head .default-btn {
        height: 34px;
        padding: 0 10px;
    }
    .order-summary-grid,
    .order-info-grid {
        grid-template-columns: 1fr;
    }
    .order-detail-tabs {
        top: 50px;
        overflow-x: auto;
        white-space: nowrap;
    }
    .order-detail-tabs .tab {
        flex: 0 0 auto;
        padding: 8px 12px;
    }
    .stats,
    .grade-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .member-benefit-list {
        grid-template-columns: repeat(2, 1fr);
    }
    .member-level-grid {
        grid-template-columns: 1fr;
    }
    .member-upgrade-head {
        display: block;
    }
    .member-upgrade-balance {
        display: inline-block;
        margin-top: 8px;
    }
    .member-upgrade-ad {
        align-items: flex-start;
    }
    .modal-mask {
        align-items: end;
    }
    .pay-modal {
        width: 100%;
        max-height: calc(100vh - 72px);
        max-height: calc(100dvh - 72px);
        overflow-y: auto;
        border-radius: 15px 15px 0 0;
    }
    .modal-body {
        display: block;
        /* 小屏确认订单弹窗预留底部安全区，避免去付款按钮被浏览器底栏遮挡。 */
        padding-bottom: calc(30px + constant(safe-area-inset-bottom));
        padding-bottom: calc(30px + env(safe-area-inset-bottom));
    }
    .modal-section {
        margin-bottom: 12px;
    }
    .value-service-grid {
        grid-template-columns: 1fr;
    }
    .goods-order-modal {
        max-height: calc(100vh - 12px);
        max-height: calc(100dvh - 12px);
        overflow: hidden;
        border-radius: 15px 15px 0 0;
    }
    .goods-order-modal .modal-head {
        position: relative;
        flex: 0 0 auto;
        justify-content: center;
        padding: 10px 12px 0;
    }
    .goods-order-modal .modal-head h3 {
        margin: 0;
        font-size: 16px;
        line-height: 30px;
    }
    .goods-order-modal .modal-close {
        position: absolute;
        top: 10px;
        right: 12px;
        width: 28px;
        height: 28px;
    }
    .goods-order-modal .modal-body {
        display: flex;
        flex-direction: column;
        flex: 1 1 auto;
        min-height: 0;
        align-items: stretch;
        gap: 8px;
        overflow-y: auto;
        padding: 8px 12px 0;
    }
    .goods-order-modal .modal-order-main {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        order: 1;
        width: 100%;
    }
    .goods-order-modal .pay-method-section {
        order: 1;
    }
    .goods-order-modal .order-input-section {
        order: 2;
    }
    .goods-order-modal .value-service-section {
        order: 3;
    }
    .goods-order-modal .modal-order-main .modal-section + .modal-section {
        margin-top: 0;
    }
    .goods-order-modal .modal-section {
        width: 100%;
        margin: 0;
        padding: 9px;
        border-radius: 7px;
    }
    .goods-order-modal .modal-section h3 {
        margin: 0 0 6px;
        font-size: 14px;
        line-height: 1.35;
        text-align: center;
    }
    /* 窄屏确认订单只保留必要信息，避免弹窗内部出现滚动。 */
    .goods-order-modal .mobile-order-brief {
        display: flex;
        justify-content: center;
        order: 2;
        gap: 8px;
        align-items: center;
        width: 100%;
        padding: 9px;
        border-radius: 7px;
        background: rgba(255, 255, 255, 0.86);
        text-align: center;
    }
    .goods-order-modal .mobile-order-brief > div {
        display: flex;
        flex: 1 1 auto;
        min-width: 0;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }
    .goods-order-modal .mobile-order-brief b,
    .goods-order-modal .mobile-order-brief span {
        min-width: 0;
        display: inline-block;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .goods-order-modal .mobile-order-brief b {
        font-size: 14px;
    }
    .goods-order-modal .mobile-order-brief div > span {
        color: #667085;
        font-size: 12px;
    }
    .goods-order-modal .mobile-order-brief > span {
        flex: 0 0 auto;
        color: #1f2d3d;
        font-weight: 700;
    }
    .goods-order-modal .order-template-fields,
    .goods-order-modal .modal-order-summary h3,
    .goods-order-modal .modal-order-summary > div,
    .goods-order-modal .order-lines,
    .goods-order-modal .member-upgrade-ad {
        display: none !important;
    }
    .goods-order-modal .order-input-section h3 {
        display: none;
    }
    .goods-order-modal .form-group.row {
        display: block;
        margin: 0;
    }
    .goods-order-modal .form-group.row label {
        display: block;
        width: auto;
        max-width: none;
        margin: 0 0 5px;
        padding: 0;
        font-size: 13px;
        font-weight: 700;
        color: #344054;
        text-align: center;
    }
    .goods-order-modal .form-group.row > div {
        width: 100%;
        max-width: none;
        padding: 0;
    }
    .goods-order-modal .form-control {
        height: 36px;
        padding: 0 10px;
        font-size: 14px;
        text-align: center;
    }
    .goods-order-modal .value-service-grid,
    .goods-order-modal .pay-methods {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6px;
    }
    .goods-order-modal .value-service-item,
    .goods-order-modal .pay-item {
        min-height: 36px;
        margin: 0;
        padding: 7px 9px;
        border-radius: 6px;
        line-height: 1.25;
        text-align: center;
    }
    .goods-order-modal .value-service-item b {
        margin-bottom: 2px;
        font-size: 13px;
    }
    .goods-order-modal .value-service-item span,
    .goods-order-modal .pay-item .hint {
        font-size: 12px;
    }
    .goods-order-modal .pay-item br,
    .goods-order-modal .pay-item .hint {
        display: none;
    }
    .goods-order-modal #trade-password-field {
        margin-top: 8px !important;
    }
    .goods-order-modal .modal-order-summary {
        width: calc(100% + 24px);
        order: 3;
        flex: 0 0 auto;
        position: sticky;
        bottom: 0;
        z-index: 2;
        margin: 0 -12px;
        padding: 8px 0 calc(8px + constant(safe-area-inset-bottom));
        padding: 8px 0 calc(8px + env(safe-area-inset-bottom));
        background: linear-gradient(
            to top,
            rgba(255, 255, 255, 0.98),
            rgba(255, 255, 255, 0.94)
        );
        box-shadow: 0 -8px 18px rgba(15, 23, 42, 0.08);
    }
    .goods-order-modal .pay-button {
        width: 100%;
        height: 40px;
        margin-top: 0;
        border-radius: 7px;
    }
    .detail-tabs {
        top: 50px;
        overflow-x: auto;
        white-space: nowrap;
    }
    .detail-tabs a {
        flex: 0 0 auto;
    }
    .comment-item {
        grid-template-columns: 36px minmax(0, 1fr);
        padding: 12px;
    }
    .comment-avatar {
        width: 36px;
        height: 36px;
    }
    .comment-meta {
        display: block;
    }
    .comment-meta span {
        display: block;
        margin-top: 2px;
    }
    .promise-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .delivery-row {
        grid-template-columns: 1fr auto;
    }
    .delivery-row b {
        grid-column: 1 / -1;
    }
    .order-timeline {
        grid-template-columns: 1fr;
    }
    .mobile-buybar {
        display: flex;
    }
    .mobile-buybar {
        display: block;
    }
}
