



:root {
    --blue: #2F6BFF;
    --blue-deep: #1D4ED8;
    --blue-soft: #EAF1FF;
    --ink: #0C1222;
    --ink-2: #47506A;
    --ink-3: #8A93A8;
    --line: #ECEFF5;
    --canvas: #F5F7FC;
    --green: #12B76A;
    --red: #F53F3F;
    --orange: #FF7D00;
    --radius: 16px;
    --shadow: 0 1px 2px rgba(16,24,40,.04), 0 12px 34px rgba(16,24,40,.07);
    --shadow-hover: 0 20px 48px rgba(29,78,216,.16);
}

body, p, span, div, a, input, textarea, select, code, .gc-title, .oi-no, .oi-cards { user-select: text; -webkit-user-select: text; }
button, .icon, .mobile-nav { user-select: none; -webkit-user-select: none; }









*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html, body { width: 100%; max-width: 100%; overflow-x: clip; }
body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    color: var(--ink);
    background: var(--canvas);
    -webkit-font-smoothing: antialiased;
    font-size: 14px;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
img, video, svg, iframe, table, pre { max-width: 100%; }
.icon { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vertical-align: -0.16em; }

.shell { width: min(1200px, calc(100% - 32px)); max-width: 100%; margin: 0 auto; }



.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255,255,255,.85);
    -webkit-backdrop-filter: saturate(180%) blur(16px);
    backdrop-filter: saturate(180%) blur(16px);
    border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 22px; height: 68px; min-width: 0; }
.brand { display: flex; align-items: center; gap: 11px; flex: 0 0 auto; min-width: 0; }
.brand-text { min-width: 0; }
.brand-logo { width: 40px; height: 40px; border-radius: 12px; display: block; box-shadow: 0 8px 18px rgba(47,107,255,.28); }
.brand-mark {
    display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
    color: #fff; font-size: 19px;
    background: linear-gradient(135deg, #5B8CFF, var(--blue) 55%, var(--blue-deep));
    box-shadow: 0 8px 18px rgba(47,107,255,.4);
}
.brand-text strong, .brand strong { display: block; font-size: 17px; letter-spacing: .5px; color: var(--ink); }
.brand-text small, .brand small { display: block; font-size: 10.5px; letter-spacing: 1px; color: var(--ink-3); margin-top: 1px; }


.topbar {
    background: linear-gradient(90deg, #0E1E3F, #16336E);
    color: rgba(255,255,255,.9); font-size: 12.5px;
}
.topbar-inner { display: flex; align-items: center; justify-content: space-between; height: 34px; gap: 14px; }
.tb-left { display: inline-flex; align-items: center; gap: 7px; min-width: 0; }
.tb-left .icon { color: #7FE7B0; flex-shrink: 0; }
.tb-left span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tb-right { display: inline-flex; align-items: center; gap: 4px; flex-shrink: 0; }
.tb-right a { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 8px; color: rgba(255,255,255,.82); transition: .15s; }
.tb-right a:hover { background: rgba(255,255,255,.12); color: #fff; }
.tb-right a b { color: #7FB2FF; font-weight: 700; letter-spacing: .3px; }
.tb-right .icon { width: 1em; height: 1em; }

.header-search {
    

    flex: 1 1 auto; min-width: 0; display: flex; align-items: center; max-width: 460px; height: 42px;
    background: #F2F5FA; border: 1.5px solid transparent; border-radius: 12px;
    transition: .18s;
}
.header-search:focus-within { background: #fff; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(47,107,255,.1); }
.header-search .icon { margin-left: 13px; color: var(--ink-3); flex-shrink: 0; }
.header-search input { flex: 1 1 auto; min-width: 0; width: 100%; height: 100%; padding: 0 10px; border: 0; outline: 0; background: transparent; }
.header-search button {
    flex-shrink: 0;
    height: 34px; margin: 4px; padding: 0 18px; border: 0; border-radius: 9px; cursor: pointer;
    color: #fff; font-weight: 600; white-space: nowrap;
    background: linear-gradient(135deg, var(--blue), var(--blue-deep));
}

.header-nav { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.header-nav a {
    display: inline-flex; align-items: center; gap: 6px; padding: 9px 13px;
    border-radius: 10px; color: var(--ink-2); font-weight: 500; transition: .15s;
}
.header-nav a:hover { color: var(--blue); background: var(--blue-soft); }
.header-nav .nav-strong {
    color: #fff; background: linear-gradient(135deg, var(--blue), var(--blue-deep));
    box-shadow: 0 8px 18px rgba(47,107,255,.28);
}
.header-nav .nav-strong:hover { color: #fff; transform: translateY(-1px); }



.hero-carousel {
    position: relative; margin-top: 18px; border-radius: 22px; overflow: hidden;
    box-shadow: 0 24px 54px rgba(29,78,216,.18);
    aspect-ratio: 3.35 / 1; min-height: 170px; background: linear-gradient(135deg,#2E62E8,#123A9E);
}
.hero-slide {
    position: absolute; inset: 0; opacity: 0; transition: opacity .4s ease; display: block;
}
.hero-slide.on { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-slide img.bn-m { display: none; }
.hero-slide .slide-fallback {
    position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; padding: 0 6%;
    color: #fff;
    background:
        radial-gradient(560px 260px at 85% -20%, rgba(255,255,255,.2), transparent 60%),
        linear-gradient(135deg, #2E62E8 0%, var(--blue) 45%, #123A9E 100%);
}
.slide-fallback h2 { margin: 0 0 8px; font-size: clamp(20px, 3.4vw, 40px); font-weight: 800; letter-spacing: -.5px; }
.slide-fallback p { margin: 0; font-size: clamp(12px, 1.4vw, 16px); opacity: .92; }
.hero-dots { position: absolute; left: 0; right: 0; bottom: 12px; display: flex; justify-content: center; gap: 7px; z-index: 2; }
.hero-dots button { width: 18px; height: 5px; padding:0;border:0;border-radius: 3px; background: rgba(255,255,255,.45); cursor: pointer; transition: .2s; }
.hero-dots button.on { background: #fff; width: 26px; }
.hero-arrow { position:absolute;z-index:3;top:50%;transform:translateY(-50%);width:38px;height:38px;border:0;border-radius:50%;background:rgba(12,18,34,.28);color:#fff;font-size:28px;line-height:1;cursor:pointer; }
.hero-arrow.prev { left:14px; }
.hero-arrow.next { right:14px; }
.hero-arrow:hover,.hero-arrow:focus-visible { background:rgba(12,18,34,.58);outline:2px solid #fff; }

.notice-bar {
    display: flex; align-items: center; gap: 11px; margin: 16px 0;
    padding: 10px 16px; min-height: 48px; min-width: 0;
    background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow);
    overflow: hidden;
}
.notice-badge { display:flex;align-items:center;gap:5px;flex-shrink:0;padding:7px 9px;border-radius:9px;color:var(--blue);background:var(--blue-soft);animation:noticePulse 1.8s ease-in-out infinite; }
.notice-badge .icon { width:16px;height:16px; }
.notice-badge b { font-size:12px; }
.notice-viewport { flex:1 1 auto;min-width:0;overflow:hidden; }
.notice-track { width:max-content;min-width:100%;white-space:nowrap;color:var(--ink-2);font-size:13.5px;line-height:1.5;animation:noticeMove 20s linear infinite; }
.notice-bar:hover .notice-track,.notice-bar:focus-within .notice-track { animation-play-state:paused; }
@keyframes noticeMove { from { transform:translateX(100%); } to { transform:translateX(-100%); } }
@keyframes noticePulse { 0%,100% { opacity:.72; } 50% { opacity:1; } }
.notice-bar .btn-plain { flex-shrink: 0; }

@media (prefers-reduced-motion: reduce) {
    .notice-track,.notice-badge,.recommend-pulse { animation:none; }
    .notice-track { width:auto;min-width:0;white-space:normal; }
    .hero-slide { transition:none; }
}



.panel {
    background: #fff; border: 1px solid var(--line); border-radius: 20px;
    box-shadow: var(--shadow); padding: 24px; margin-bottom: 18px;
    width: 100%; max-width: 100%; min-width: 0;
}
.sec-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; min-width: 0; flex-wrap: wrap; }
.sec-head h2 { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 19px; letter-spacing: -.2px; min-width: 0; }
.sec-head h2 .h-ico {
    display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; font-size: 16px;
    color: #fff; background: linear-gradient(135deg, var(--blue), var(--blue-deep));
    box-shadow: 0 8px 16px rgba(47,107,255,.28);
}
.sec-head small { color: var(--ink-3); }







.cate-rail { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; min-width: 0; }
.cate-chip {
    display: flex; align-items: center; gap: 8px;
    min-width: 0; max-width: 100%;
    padding: 9px 14px 9px 10px; border-radius: 999px; cursor: pointer;
    background: #fff; border: 1.5px solid var(--line); color: var(--ink-2); font-weight: 550;
    transition: .15s; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.cate-chip .c-ico {
    display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; font-size: 14px;
    color: var(--blue); background: var(--blue-soft); flex-shrink: 0;
}
.cate-chip .cc-name { min-width: 0; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cate-chip:hover { border-color: #BFD3FF; color: var(--blue-deep); transform: translateY(-1px); box-shadow: 0 10px 22px rgba(29,78,216,.12); }
.cate-chip.on {
    color: #fff; border-color: var(--blue);
    background: linear-gradient(135deg, var(--blue), var(--blue-deep));
    box-shadow: 0 12px 26px rgba(47,107,255,.32);
}
.cate-chip.on .c-ico { color: var(--blue-deep); background: #fff; }


.sub-rail {
    display: flex; flex-wrap: wrap; gap: 8px;
    margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--line);
}
.cate-chip.sub { display: inline-flex; padding: 7px 14px; font-size: 12.5px; font-weight: 500; border-radius: 999px; background: #F7F9FC; }
.cate-chip.sub:hover { background: #fff; }
.cate-chip.sub.on { background: linear-gradient(135deg, var(--blue), var(--blue-deep)); color: #fff; }
.recommended-cate { position: relative; border-color: #8CB2FF; background: linear-gradient(135deg,#F7FAFF,#EDF3FF); }
.recommend-pulse { display:inline-flex;align-items:center;flex-shrink:0;padding:2px 6px;border-radius:999px;background:#FFEEF0;color:#D92D20;font-size:10px;font-weight:800;animation:recommendPulse 1.8s ease-in-out infinite; }
@keyframes recommendPulse { 0%,100% { opacity:.72;transform:scale(.96); } 50% { opacity:1;transform:scale(1.04); } }



.sort-tabs { display: inline-flex; gap: 4px; padding: 4px; background: #F2F5FA; border-radius: 11px; max-width: 100%; min-width: 0; }
.sort-tabs a { padding: 7px 14px; border-radius: 8px; color: var(--ink-3); font-size: 13px; font-weight: 550; white-space: nowrap; text-align: center; }
.sort-tabs a.on { color: var(--blue-deep); background: #fff; box-shadow: 0 3px 10px rgba(16,24,40,.1); }



.goods-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; min-width: 0; }
.goods-card {
    display: flex; flex-direction: column; overflow: hidden; min-width: 0;
    background: #fff; border: 1px solid var(--line); border-radius: 16px;
    box-shadow: 0 2px 10px rgba(16,24,40,.05);
    transition: transform .2s ease, box-shadow .25s ease, border-color .2s ease;
}
.goods-card:hover { transform: translateY(-5px); border-color: #CFDDFF; box-shadow: var(--shadow-hover); }
.gc-img { position: relative; aspect-ratio: 1.6/1; background: linear-gradient(135deg,#EAF1FF,#F6F9FF); overflow: hidden; }
.gc-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gc-img .gc-ph { position: absolute; inset: 0; display: grid; place-items: center; color: #B9CCF7; font-size: 34px; }
.gc-badge {
    position: absolute; top: 10px; left: 10px; padding: 3px 9px; border-radius: 7px;
    color: #fff; font-size: 11px; font-weight: 650;
    background: linear-gradient(135deg,#FF7D3B,#F5462C); box-shadow: 0 6px 14px rgba(245,70,44,.35);
}
.gc-badge.card { background: linear-gradient(135deg,#8B5CF6,#6D28D9); box-shadow: 0 6px 14px rgba(109,40,217,.35); }
.gc-body { display: flex; flex-direction: column; gap: 8px; padding: 13px 14px 14px; flex: 1; min-width: 0; }
.gc-title { font-size: 14px; font-weight: 620; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 40px; overflow-wrap: anywhere; }
.gc-meta { display: flex; gap: 6px; flex-wrap: wrap; min-width: 0; }
.gc-meta span { padding: 2.5px 8px; border-radius: 6px; background: #F2F5FA; color: var(--ink-2); font-size: 11px; }




.gc-foot { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; height: auto; margin-top: auto; min-width: 0; }
.gc-price { color: var(--red); font-weight: 800; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gc-price b { font-size: 20px; font-variant-numeric: tabular-nums; }
.gc-price i { font-style: normal; font-size: 11px; font-weight: 500; color: var(--ink-3); margin-left: 2px; }
.gc-buy {
    display: block; width: 100%; height: 32px; line-height: 32px;
    border-radius: 999px; color: #fff; font-size: 12.5px; font-weight: 650;
    text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    writing-mode: horizontal-tb;                 
    word-break: keep-all; letter-spacing: 0;
    background: linear-gradient(135deg, var(--blue), var(--blue-deep));
    box-shadow: 0 6px 14px rgba(47,107,255,.28);
}

.goods-empty { padding: 60px 0; text-align: center; color: var(--ink-3); }
.goods-empty .icon { font-size: 40px; color: #C7D4F2; }



.pagination { display: flex; justify-content: center; gap: 7px; margin-top: 22px; flex-wrap: wrap; }
.pagination a, .pagination span {
    min-width: 36px; height: 36px; padding: 0 10px; display: inline-flex; align-items: center; justify-content: center;
    border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink-2); font-size: 13px;
}
.pagination a:hover { color: var(--blue); border-color: #BFD3FF; background: var(--blue-soft); }
.pagination .on {
    color: #fff; border-color: var(--blue);
    background: linear-gradient(135deg, var(--blue), var(--blue-deep));
    box-shadow: 0 8px 18px rgba(47,107,255,.3);
}



.field { margin-bottom: 15px; }
.field > label { display: block; margin-bottom: 7px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.field > label em { color: var(--red); font-style: normal; margin-left: 2px; }
.control {
    display: flex; align-items: center; height: 48px;
    background: #F8FAFD; border: 1.5px solid #E2E6EF; border-radius: 12px; transition: .15s;
}
.control:focus-within { background: #fff; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(47,107,255,.1); }
.control .icon { margin-left: 13px; color: var(--ink-3); flex-shrink: 0; }
.control input, .control select { flex: 1; min-width: 0; height: 100%; padding: 0 12px; border: 0; outline: 0; background: transparent; }
textarea.ta {
    width: 100%; min-height: 90px; padding: 12px; border: 1.5px solid #E2E6EF; border-radius: 12px;
    background: #F8FAFD; outline: 0; resize: vertical; transition: .15s;
}
textarea.ta:focus { background: #fff; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(47,107,255,.1); }

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    height: 48px; padding: 0 28px; border: 0; border-radius: 999px; cursor: pointer;
    font-size: 14.5px; font-weight: 650; letter-spacing: .5px; transition: transform .14s, box-shadow .2s;
}
.btn-primary {
    color: #fff;
    background: linear-gradient(135deg, #4C82FF 0%, var(--blue) 55%, var(--blue-deep) 100%);
    box-shadow: 0 12px 26px rgba(47,107,255,.32);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(47,107,255,.4); }
.btn-plain { background: #fff; color: var(--blue-deep); border: 1.5px solid #BFD3FF; }
.btn-plain:hover { background: var(--blue-soft); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: not-allowed; transform: none !important; }



.buy-layout { display: grid; grid-template-columns: 1fr 390px; gap: 18px; align-items: start; margin-top: 18px; }
.goods-head { display: flex; gap: 18px; }
.goods-head .gh-img {
    flex: 0 0 180px; aspect-ratio: 1.5/1; border-radius: 14px; overflow: hidden;
    background: linear-gradient(135deg,#EAF1FF,#F6F9FF); display: grid; place-items: center; color: #B9CCF7; font-size: 30px;
}
.goods-head .gh-img img { width: 100%; height: 100%; object-fit: cover; }
.goods-head h1 { margin: 0 0 8px; font-size: 21px; line-height: 1.4; }
.gh-tags { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 10px; }
.gh-tags span { padding: 3px 10px; border-radius: 7px; font-size: 12px; background: var(--blue-soft); color: var(--blue-deep); font-weight: 550; }
.gh-price { color: var(--red); font-weight: 800; font-size: 15px; }
.gh-price b { font-size: 26px; font-variant-numeric: tabular-nums; }
.goods-content { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--ink-2); line-height: 1.8; overflow-wrap: break-word; }
.goods-content img { border-radius: 10px; }

.order-box { position: sticky; top: 86px; }
.num-stepper { display: flex; align-items: center; gap: 10px; }
.num-stepper button {
    width: 44px; height: 44px; border: 1.5px solid #E2E6EF; border-radius: 11px; background: #fff;
    font-size: 19px; cursor: pointer; color: var(--ink-2); transition: .15s;
}
.num-stepper button:hover { border-color: var(--blue); color: var(--blue); }
.num-stepper input {
    flex: 1; min-width: 0; height: 44px; text-align: center; font-weight: 700; font-size: 16px;
    border: 1.5px solid #E2E6EF; border-radius: 11px; outline: 0; background: #F8FAFD;
    font-variant-numeric: tabular-nums;
}
.num-hint { margin-top: 7px; font-size: 12px; color: var(--ink-3); }

.num-stepper input.ipt-err { border-color: #E5544A; background: #FFF6F5; color: #C0392B; }
#buy-submit:disabled { opacity: .55; cursor: not-allowed; box-shadow: none; }

.total-bar {
    display: flex; align-items: baseline; justify-content: space-between;
    margin: 16px 0; padding: 14px 16px; border-radius: 13px;
    background: linear-gradient(135deg, #F4F8FF, #EAF1FF);
}
.total-bar span { color: var(--ink-2); font-size: 13px; }
.total-bar b { color: var(--red); font-size: 26px; font-weight: 800; font-variant-numeric: tabular-nums; }
.total-bar b::before { content: "¥"; font-size: 15px; margin-right: 2px; }



.pay-wrap { max-width: 620px; margin: 26px auto 0; }
.pay-order { display: flex; justify-content: space-between; gap: 10px; padding: 13px 0; border-bottom: 1px dashed var(--line); font-size: 13.5px; }
.pay-order:last-of-type { border-bottom: 0; }
.pay-order span { color: var(--ink-3); flex-shrink: 0; }
.pay-order b { font-weight: 600; text-align: right; word-break: break-all; }
.pay-amount { text-align: center; padding: 18px 0 6px; }
.pay-amount b { font-size: 38px; font-weight: 800; color: var(--red); font-variant-numeric: tabular-nums; }
.pay-amount b::before { content: "¥"; font-size: 20px; }
.pay-amount p { margin: 4px 0 0; color: var(--ink-3); font-size: 12.5px; }

.pay-channels { display: grid; gap: 11px; margin-top: 16px; }
.pay-ch {
    display: flex; align-items: center; gap: 13px; padding: 15px 16px; cursor: pointer;
    border: 1.5px solid var(--line); border-radius: 14px; background: #fff; transition: .15s;
}
.pay-ch:hover { border-color: #BFD3FF; box-shadow: 0 10px 22px rgba(29,78,216,.1); transform: translateY(-1px); }
.pay-ch.on { border-color: var(--blue); background: var(--blue-soft); box-shadow: 0 10px 24px rgba(47,107,255,.18); }
.pay-ch .ch-ico { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 11px; font-size: 21px; color: #fff; flex-shrink: 0; }
.ch-alipay .ch-ico { background: #1677FF; }
.ch-wxpay .ch-ico { background: #07C160; }
.ch-qqpay .ch-ico { background: #12B7F5; }
.ch-balance .ch-ico { background: linear-gradient(135deg,#FF9F43,#FF7D00); }
.pay-ch strong { display: block; font-size: 14.5px; }
.pay-ch small { color: var(--ink-3); }
.pay-ch .ch-check { margin-left: auto; width: 22px; height: 22px; border-radius: 50%; border: 2px solid #D5DCEA; transition: .15s; flex-shrink: 0; }
.pay-ch.on .ch-check { border-color: var(--blue); background: var(--blue) radial-gradient(circle at center, #fff 0 4px, transparent 5px); }



.order-item { border: 1px solid var(--line); border-radius: 15px; padding: 16px 18px; margin-bottom: 13px; background: #fff; }
.oi-head { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.oi-head strong { font-size: 14.5px; line-height: 1.45; }
.oi-no { margin-top: 3px; font-size: 12px; color: var(--ink-3); word-break: break-all; }
.badge { display: inline-block; padding: 3.5px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.badge.blue { color: var(--blue-deep); background: var(--blue-soft); }
.badge.green { color: #0A7B46; background: #E6F9EF; }
.badge.red { color: #C22; background: #FFECE8; }
.badge.gray { color: var(--ink-3); background: #F2F4F8; }
.badge.orange { color: #B25E00; background: #FFF3E8; }
.oi-rows { margin-top: 11px; display: grid; gap: 6px; font-size: 13px; color: var(--ink-2); }
.oi-rows p { margin: 0; display: flex; justify-content: space-between; gap: 12px; }
.oi-rows p span:first-child { color: var(--ink-3); flex-shrink: 0; }
.oi-rows p span:last-child { text-align: right; word-break: break-all; }
.progress { height: 8px; border-radius: 4px; background: #EDF1F9; overflow: hidden; margin-top: 4px; }
.progress i { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, #5B8CFF, var(--blue-deep)); transition: width .4s; }
.oi-cards {
    margin-top: 11px; padding: 11px 13px; border-radius: 11px; background: #F8FAFD; border: 1px dashed #D8E2F5;
    font-family: "SF Mono", Consolas, monospace; font-size: 12.5px; word-break: break-all; white-space: pre-wrap; color: var(--ink);
}



.site-footer { margin-top: 34px; padding: 34px 0 24px; border-top: 1px solid var(--line); background: #fff; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr); gap: 30px; padding-bottom: 24px; }
.ft-brand .brand { margin-bottom: 12px; }
.ft-desc { margin: 0 0 14px; color: var(--ink-3); font-size: 13px; line-height: 1.7; max-width: 340px; }
.ft-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.ft-badges span { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 8px; background: var(--blue-soft); color: var(--blue-deep); font-size: 12px; font-weight: 600; }
.ft-badges .icon { width: 1em; height: 1em; }
.ft-links h4 { margin: 4px 0 13px; font-size: 13.5px; color: var(--ink); }
.ft-links a { display: block; margin-bottom: 9px; color: var(--ink-3); font-size: 13px; transition: .14s; }
.ft-links a:hover { color: var(--blue); transform: translateX(2px); }
.footer-copy { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 18px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: 12.5px; }
.footer-copy span:first-child { color: var(--ink-2); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 14px; color: var(--ink-3); font-size: 12.5px; flex-wrap: wrap; }
.footer-inner strong { color: var(--ink-2); }

.mobile-nav {
    display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    background: rgba(255,255,255,.94);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    border-top: 1px solid var(--line);
    padding-bottom: env(safe-area-inset-bottom);
}


.mobile-nav .mn-wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.mobile-nav a { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 9px 0 7px; color: var(--ink-3); font-size: 11px; min-width: 0; }
.mobile-nav a span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mobile-nav a .icon { font-size: 19px; }
.mobile-nav a.on { color: var(--blue); font-weight: 600; }



.kx-mask { position: fixed; inset: 0; z-index: 90; background: rgba(12,18,34,.45); backdrop-filter: blur(3px); display: none; }
.kx-mask.show { display: block; }
.kx-dialog {
    position: fixed; z-index: 91; left: 50%; top: 50%; transform: translate(-50%,-50%);
    width: min(480px, calc(100% - 36px)); max-height: 82vh; overflow: auto;
    background: #fff; border-radius: 20px; box-shadow: 0 30px 80px rgba(12,18,34,.3); display: none;
}
.kx-dialog.show { display: block; }
.kd-hero {
    display: flex; gap: 13px; align-items: center; padding: 22px 24px;
    color: #fff; background: linear-gradient(135deg, #2E62E8, #123A9E);
}
.kd-hero .icon { font-size: 26px; }
.kd-hero h3 { margin: 0; font-size: 17px; }
.kd-hero small { opacity: .85; }
.kd-body { padding: 20px 24px; color: var(--ink-2); line-height: 1.8; font-size: 13.5px; }
.kd-foot { padding: 0 24px 22px; }

.kx-toast {
    position: fixed; z-index: 99; left: 50%; top: 18%; transform: translateX(-50%);
    max-width: min(420px, calc(100% - 40px));
    padding: 12px 20px; border-radius: 12px; color: #fff; font-size: 14px;
    background: rgba(12,18,34,.86); box-shadow: 0 16px 40px rgba(12,18,34,.3);
    opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s;
}
.kx-toast.show { opacity: 1; transform: translateX(-50%) translateY(4px); }
.kx-toast.ok { background: rgba(10,123,70,.94); }
.kx-toast.err { background: rgba(203,38,52,.94); }



.muted { color: var(--ink-3); }
.mt0 { margin-top: 0; } .mb0 { margin-bottom: 0; }
.hide { display: none !important; }
.grid2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 14px; }



.gc-sold { display: inline-flex; align-items: center; gap: 5px; color: var(--ink-3); font-size: 11.5px; }
.gc-sold b { color: var(--orange); font-weight: 700; font-variant-numeric: tabular-nums; }
.gc-buyer { display: inline-flex; align-items: center; gap: 5px; color: var(--ink-3); font-size: 11px; }
.gc-buyer .bdot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(18,183,106,.16); flex-shrink: 0; }
.gc-buyer .buyer-name { color: var(--ink-2); font-family: "SF Mono", Consolas, monospace; }


.buyer-feed { margin-top: 14px; border: 1px solid var(--line); border-radius: 13px; overflow: hidden; background: #fff; }
.buyer-feed .bf-head { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-bottom: 1px solid var(--line); font-size: 12.5px; font-weight: 650; color: var(--ink-2); }
.buyer-feed .bf-head .icon { color: var(--green); width: 1em; height: 1em; }
.buyer-feed .bf-list { height: 96px; overflow: hidden; position: relative; }
.buyer-feed .bf-track { position: absolute; inset: 0; padding: 4px 14px; }
.buyer-feed .bf-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; height: 32px; font-size: 12.5px; color: var(--ink-2); }
.buyer-feed .bf-row .bn { font-family: "SF Mono", Consolas, monospace; color: var(--ink); }
.buyer-feed .bf-row .bt { color: var(--ink-3); font-size: 11.5px; white-space: nowrap; }



.live-toast {
    position: fixed; left: 18px; bottom: 22px; z-index: 70;
    display: flex; align-items: center; gap: 9px; max-width: min(340px, calc(100% - 36px));
    padding: 10px 15px 10px 12px; border-radius: 13px;
    background: rgba(255,255,255,.98); border: 1px solid var(--line);
    box-shadow: 0 16px 40px rgba(16,24,40,.16);
    font-size: 12.5px; color: var(--ink-2);
    opacity: 0; transform: translateY(14px); pointer-events: none; transition: opacity .35s, transform .35s;
}
.live-toast.show { opacity: 1; transform: translateY(0); }
.live-toast .lt-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(18,183,106,.18); flex-shrink: 0; }
.live-toast .lt-text b { color: var(--ink); font-family: "SF Mono", Consolas, monospace; }
.live-toast .lt-text .lt-goods { color: var(--blue-deep); font-weight: 600; }



.float-kefu { position: fixed; right: 18px; bottom: 90px; z-index: 65; }
.fk-toggle {
    display: grid; place-items: center; gap: 1px; width: 56px; height: 56px; border: 0; border-radius: 17px; cursor: pointer;
    color: #fff; background: linear-gradient(135deg, #4C86FF, var(--blue-deep));
    box-shadow: 0 14px 30px rgba(29,78,216,.42);
    transition: transform .16s;
}
.fk-toggle .icon { width: 22px; height: 22px; }
.fk-toggle em { font-style: normal; font-size: 10px; font-weight: 600; }
.fk-toggle:hover { transform: translateY(-2px) scale(1.03); }
.fk-menu {
    position: absolute; right: 0; bottom: 66px; display: grid; gap: 4px; width: 150px; padding: 7px;
    background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 18px 44px rgba(16,24,40,.2);
    opacity: 0; transform: translateY(8px) scale(.96); transform-origin: bottom right; pointer-events: none; transition: .18s;
}
.float-kefu.open .fk-menu { opacity: 1; transform: none; pointer-events: auto; }
.fk-menu a { display: flex; align-items: center; gap: 9px; padding: 10px 11px; border-radius: 10px; color: var(--ink-2); font-size: 13px; font-weight: 550; transition: .13s; }
.fk-menu a:hover { background: var(--blue-soft); color: var(--blue-deep); }
.fk-menu .icon { width: 1.05em; height: 1.05em; color: var(--blue); }



.kx-blink { animation: kx-blink 1s steps(1,end) infinite; }
@keyframes kx-blink { 50% { opacity: .25; } }
.kx-flash { animation: kx-flash 1.4s ease-in-out infinite; }
@keyframes kx-flash { 0%,100% { color: var(--red); } 50% { color: var(--orange); } }



.kx-dialog.dialog-lg { width: min(620px, calc(100% - 34px)); border-radius: 24px; }
.dialog-lg .kd-hero { padding: 26px 30px; }
.dialog-lg .kd-hero .icon { width: 30px; height: 30px; }
.dialog-lg .kd-hero h3 { font-size: 21px; }
.dialog-lg .kd-body { padding: 26px 30px; font-size: 15px; line-height: 1.9; }
.dialog-lg .kd-body img { max-width: 100%; border-radius: 12px; }
.dialog-lg .kd-foot { padding: 0 30px 28px; display: flex; gap: 12px; }
.ann-jump { flex: 1; }
.kd-close-x {
    position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; display: grid; place-items: center;
    border: 0; border-radius: 50%; cursor: pointer; color: #fff; background: rgba(255,255,255,.18); transition: .15s;
}
.kd-close-x:hover { background: rgba(255,255,255,.34); }
.kd-close-x .icon { width: 18px; height: 18px; }



.fee-line { display: flex; align-items: baseline; justify-content: space-between; margin: 10px 0 0; font-size: 13px; color: var(--ink-2); }
.fee-line b { color: var(--ink); font-variant-numeric: tabular-nums; }
.pay-amount .pa-fee { margin-top: 8px; font-size: 12.5px; color: var(--ink-3); }
.pay-amount .pa-fee b { color: var(--orange); font-weight: 700; }



.cate-all-btn {
    display: flex; align-items: center; gap: 12px;
    padding: 14px 16px; margin-bottom: 18px;
    border-radius: 16px; color: #fff;
    background: linear-gradient(135deg, #4C82FF, var(--blue) 55%, var(--blue-deep));
    box-shadow: 0 10px 24px rgba(47,107,255,.28);
}
.cate-all-btn .c-ico { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: rgba(255,255,255,.18); color: #fff; flex-shrink: 0; }
.cate-all-btn .ca-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.cate-all-btn .ca-text strong { font-size: 15px; }
.cate-all-btn .ca-text small { font-size: 12px; opacity: .82; }
.cate-all-btn .ca-arrow { flex-shrink: 0; opacity: .85; }

.cate-group {
    margin-bottom: 20px;
    


    content-visibility: auto;
    contain-intrinsic-size: auto 320px;
}
.cate-group:last-child { margin-bottom: 0; }
.cate-group[hidden] { display: none; }
.cg-title { margin: 0 0 10px; font-size: 13.5px; color: var(--ink-2); font-weight: 700; letter-spacing: .5px; display: flex; align-items: baseline; gap: 8px; min-width: 0; scroll-margin-top: 108px; }
.cg-title a { color: inherit; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cg-title a:hover { color: var(--blue); }
.cg-title small { font-size: 11.5px; color: var(--ink-3); font-weight: 400; flex-shrink: 0; }
.cate-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; min-width: 0; }
.cate-cell {
    display: flex; align-items: center; gap: 10px;
    min-width: 0; max-width: 100%;
    padding: 12px 13px; border: 1px solid var(--line); border-radius: 14px;
    background: #fff; color: var(--ink); transition: .15s;
}
.cate-cell:hover { border-color: #BFD3FF; box-shadow: 0 10px 22px rgba(29,78,216,.1); transform: translateY(-1px); }
.cate-cell[hidden] { display: none; }
.cate-cell .c-ico { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; background: var(--blue-soft); color: var(--blue-deep); flex-shrink: 0; }
.cate-cell .cc-text { flex: 1 1 auto; min-width: 0; max-width: 100%; display: flex; flex-direction: column; gap: 1px; }
.cate-cell .cc-text strong { min-width: 0; max-width: 100%; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cate-cell .cc-text small { min-width: 0; max-width: 100%; font-size: 11.5px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cate-cell .cc-arrow { flex-shrink: 0; color: var(--ink-3); width: 14px; height: 14px; }


.cate-tools { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; min-width: 0; flex-wrap: wrap; }
.cate-search {
    flex: 1 1 240px; min-width: 0; display: flex; align-items: center; height: 42px;
    background: #F8FAFD; border: 1.5px solid #E2E6EF; border-radius: 12px; transition: .15s;
}
.cate-search:focus-within { background: #fff; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(47,107,255,.1); }
.cate-search .icon { margin-left: 12px; color: var(--ink-3); flex-shrink: 0; }
.cate-search input { flex: 1 1 auto; min-width: 0; width: 100%; height: 100%; padding: 0 10px; border: 0; outline: 0; background: transparent; }
.cate-search button {
    flex-shrink: 0; margin-right: 6px; width: 28px; height: 28px; display: none; place-items: center;
    border: 0; border-radius: 50%; background: #E3E8F2; color: var(--ink-2); cursor: pointer;
}
.cate-search.has-value button { display: grid; }
.cate-hit { flex-shrink: 0; font-size: 12.5px; color: var(--ink-3); }


.cate-jump { margin-bottom: 16px; padding-bottom: 14px; border-bottom: 1px dashed var(--line); }
.cate-jump h4 { margin: 0 0 9px; font-size: 12.5px; font-weight: 700; color: var(--ink-2); letter-spacing: .5px; }
.cate-jump .cj-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 7px; min-width: 0; }
.cate-jump a {
    display: block; min-width: 0; max-width: 100%;
    padding: 7px 10px; border: 1px solid var(--line); border-radius: 9px; background: #F8FAFD;
    color: var(--ink-2); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    transition: .13s;
}
.cate-jump a:hover { border-color: #BFD3FF; background: var(--blue-soft); color: var(--blue-deep); }
.cate-jump a[hidden] { display: none; }


.back-top {
    position: fixed; right: 18px; bottom: 156px; z-index: 64;
    width: 44px; height: 44px; display: grid; place-items: center;
    border: 1px solid var(--line); border-radius: 14px; cursor: pointer;
    color: var(--blue-deep); background: rgba(255,255,255,.96);
    box-shadow: 0 12px 26px rgba(16,24,40,.16);
    opacity: 0; visibility: hidden; transform: translateY(10px);
    transition: opacity .22s, transform .22s, visibility .22s;
}
.back-top.show { opacity: 1; visibility: visible; transform: none; }
.back-top .icon { width: 20px; height: 20px; }
.back-top.bt-low { bottom: 90px; }          

.cate-empty-note { margin: 0 0 14px; font-size: 12px; color: var(--ink-3); }








.rc-quick { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.rc-q {
    min-width: 0; padding: 7px 14px; border: 1.5px solid var(--line); border-radius: 999px;
    background: #fff; color: var(--ink-2); font-size: 13px; cursor: pointer; transition: .15s;
}
.rc-q:hover { border-color: #BFD3FF; color: var(--blue-deep); background: var(--blue-soft); }


.pay-ways { display: grid; grid-template-columns: minmax(0, 1fr); gap: 11px; margin-top: 14px; }
.pay-way {
    display: flex; align-items: center; gap: 13px; min-width: 0;
    padding: 14px 15px; border: 1.5px solid var(--line); border-radius: 14px;
    background: #fff; cursor: pointer; transition: .15s; text-align: left; width: 100%;
}
.pay-way:hover { border-color: #BFD3FF; box-shadow: 0 10px 22px rgba(29,78,216,.1); transform: translateY(-1px); }
.pay-way.on { border-color: var(--blue); background: var(--blue-soft); }
.pay-way[disabled] { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }
.pw-ico {
    display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px;
    color: #fff; flex-shrink: 0; background: linear-gradient(135deg, #8A93A8, #47506A);
}
.pw-ico.green  { background: linear-gradient(135deg, #3AC98A, #12B76A); }   /* USDT-TRC20 */
.pw-ico.blue   { background: linear-gradient(135deg, #5B8CFF, #2F6BFF); }   
.pw-ico.orange { background: linear-gradient(135deg, #FF9F43, #FF7D00); }   /* OKPay */
.pw-ico .icon { width: 21px; height: 21px; }
.pw-text { min-width: 0; flex: 1 1 auto; }
.pw-text strong { display: block; font-size: 14.5px; line-height: 1.4; }
.pw-text small {
    display: block; margin-top: 2px; color: var(--ink-3); font-size: 12px; line-height: 1.45;
    min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.pw-go { flex-shrink: 0; color: var(--ink-3); font-size: 18px; line-height: 1; }


.up-state { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
.up-count, .up-conf {
    font-size: 12.5px; color: var(--ink-3); font-variant-numeric: tabular-nums; white-space: nowrap;
}
.up-count b, .up-conf b { color: var(--red); font-weight: 700; }
.up-conf b { color: var(--blue-deep); }

.up-ok, .up-warn, .up-tip {
    margin: 12px 0 0; padding: 11px 13px; border-radius: 12px; font-size: 13px; line-height: 1.65;
    min-width: 0; overflow-wrap: anywhere;
}
.up-ok   { background: #E6F9EF; color: #0A7B46; }
.up-warn { background: #FFF3E8; color: #B25E00; }
.up-tip  { background: var(--blue-soft); color: var(--ink-2); }
.up-ok a, .up-warn a, .up-tip a { color: var(--blue-deep); font-weight: 600; text-decoration: underline; }


.up-grid {
    display: grid; grid-template-columns: 232px minmax(0, 1fr); gap: 18px;
    margin-top: 14px; align-items: start;
}
.up-qr {
    min-width: 0; padding: 12px; border: 1px solid var(--line); border-radius: 14px;
    background: #fff; text-align: center;
}
.up-qr svg { display: block; width: 100%; height: auto; max-width: 208px; margin: 0 auto; }
.up-qr-tip { margin: 9px 0 0; font-size: 11.5px; line-height: 1.5; color: var(--ink-3); }
.up-qr-tip b { color: var(--ink-2); }

.up-info { min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.up-row { min-width: 0; }
.up-row > label { display: block; margin-bottom: 6px; font-size: 12.5px; font-weight: 600; color: var(--ink-2); }
.up-copy {
    display: flex; align-items: center; flex-wrap: wrap; gap: 8px; min-width: 0;
    padding: 10px 11px; border: 1px solid var(--line); border-radius: 12px; background: #F8FAFE;
}
.up-copy .ipt { flex: 1 1 180px; min-width: 0; }
.up-amt {
    font-size: 21px; font-weight: 800; color: var(--red); line-height: 1.2;
    font-variant-numeric: tabular-nums; min-width: 0; overflow-wrap: anywhere;
}
.up-coin { font-size: 13px; font-weight: 600; color: var(--ink-3); flex-shrink: 0; }
.up-addr {
    flex: 1 1 100%; min-width: 0; font-size: 12.5px; line-height: 1.6; color: var(--ink);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    
    word-break: break-all; overflow-wrap: anywhere;
}
.up-btn {
    display: inline-flex; align-items: center; gap: 5px; flex-shrink: 0; margin-left: auto;
    height: 32px; padding: 0 12px; border: 1px solid #D5DCEA; border-radius: 9px;
    background: #fff; color: var(--ink-2); font-size: 12.5px; white-space: nowrap; cursor: pointer; transition: .15s;
}
.up-btn:hover { border-color: var(--blue); color: var(--blue-deep); background: var(--blue-soft); }
.up-btn .icon { width: 14px; height: 14px; }
.up-btn.solid { border-color: var(--blue); background: var(--blue); color: #fff; }
.up-btn.solid:hover { background: var(--blue-deep); }
.up-btn[disabled] { opacity: .6; cursor: not-allowed; }
.up-hint { margin: 7px 0 0; font-size: 11.5px; line-height: 1.6; color: var(--ink-3); overflow-wrap: anywhere; }
.up-hint b { color: var(--ink-2); }

.up-steps { margin: 16px 0 0; padding-left: 20px; font-size: 12.5px; line-height: 1.85; color: var(--ink-2); }
.up-steps b { color: var(--ink); }

.up-more { margin-top: 14px; border: 1px solid var(--line); border-radius: 12px; padding: 11px 13px; }
.up-more > summary { cursor: pointer; font-size: 12.5px; font-weight: 600; color: var(--ink-2); }
.up-more > summary:hover { color: var(--blue-deep); }
.up-foot { margin: 16px 0 0; font-size: 11.5px; line-height: 1.6; color: var(--ink-3); }


.up-kv {
    margin: 14px 0 0; display: grid; grid-template-columns: auto minmax(0, 1fr);
    gap: 0 14px; font-size: 13px;
}
.up-kv dt { padding: 9px 0; color: var(--ink-3); white-space: nowrap; border-bottom: 1px dashed var(--line); }
.up-kv dd { margin: 0; padding: 9px 0; text-align: right; border-bottom: 1px dashed var(--line); min-width: 0; overflow-wrap: anywhere; }
.up-kv dt:last-of-type, .up-kv dd:last-of-type { border-bottom: 0; }




@media (max-width: 1199px) {
    .cate-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .cate-rail { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .cate-jump .cj-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 1020px) {
    .goods-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .buy-layout { grid-template-columns: minmax(0, 1fr); }
    .order-box { position: static; }
}

@media (max-width: 760px) {
    body { padding-bottom: 62px; }
    

    .shell { width: 100%; max-width: 100%; padding-inline: 10px; }
    main.shell { margin-top: 10px; }
    .panel { width: 100%; max-width: 100%; min-width: 0; padding: 12px; border-radius: 15px; margin-bottom: 12px; }
    .topbar { display: none; }               
    .header-inner { height: 54px; gap: 8px; }
    .brand-text small, .brand small { display: none; }
    .brand-text strong, .brand strong { font-size: 15.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .brand-logo { width: 32px; height: 32px; border-radius: 9px; }
    .brand-mark { width: 32px; height: 32px; border-radius: 9px; font-size: 15px; }
    .header-nav { display: none; }
    .header-search { height: 36px; max-width: none; }
    .header-search .icon { margin-left: 9px; }
    .header-search input { padding: 0 7px; font-size: 13px; }
    .header-search button { padding: 0 12px; height: 28px; border-radius: 999px; font-size: 12.5px; }
    .notice-bar { padding: 9px 12px; border-radius: 13px; min-height: 44px; }
    .notice-text { font-size: 12.5px; }

    
    .cate-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
    .cate-chip {
        min-width: 0; max-width: 100%;
        padding: 8px 9px; height: 42px; font-size: 12.5px;
        justify-content: flex-start; border-radius: 12px;
        white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    }
    .cate-chip .c-ico { width: 25px; height: 25px; font-size: 12px; flex-shrink: 0; }
    .cate-chip.sub { height: auto; padding: 7px 12px; border-radius: 999px; }

    
    .cate-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
    .cate-cell { padding: 8px 9px; border-radius: 11px; min-height: 44px; gap: 8px; }
    .cate-cell .c-ico { width: 26px; height: 26px; border-radius: 8px; }
    .cate-cell .cc-text strong { font-size: 12.5px; }
    .cate-cell .cc-text small { font-size: 10.5px; }
    .cate-cell .cc-arrow { display: none; }   
    .cate-jump .cj-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
    .cate-jump a { padding: 8px 9px; font-size: 11.5px; min-height: 34px; }
    .cate-jump { position: sticky; top: 54px; z-index: 20; background: #fff; padding-top: 8px; margin: -4px 0 12px; }
    .cate-tools { gap: 8px; }
    .cate-search { height: 38px; flex: 1 1 auto; }

    .goods-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .sec-head { margin-bottom: 12px; gap: 8px; }
    .sec-head h2 { font-size: 16px; }
    .sec-head > small { display: none; }

    
    .sort-tabs {
        display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 2px; width: 100%; padding: 3px; overflow: visible;
    }
    .sort-tabs a { padding: 7px 2px; font-size: 11.5px; }

    .goods-head { flex-direction: column; }
    .goods-head .gh-img { flex: none; width: 100%; }
    .mobile-nav { display: block; }
    .site-footer { margin-bottom: 0; padding-bottom: 8px; }
    .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 18px; }
    .ft-brand { grid-column: 1 / -1; }
    .footer-copy { justify-content: center; text-align: center; }
    .gc-title { font-size: 13px; min-height: 36px; }
    .gc-price b { font-size: 16px; }
    .gc-buy { height: 30px; line-height: 30px; font-size: 12px; }
    .gc-buyer { display: none; }              
    .hero-carousel { border-radius: 14px; aspect-ratio: 2.2/1; }
    .hero-slide img.bn-pc { display: none; }
    .hero-slide img.bn-m { display: block; }
    .grid2 { grid-template-columns: minmax(0, 1fr); }
    .float-kefu { bottom: 74px; right: 12px; }
    .fk-toggle { width: 48px; height: 48px; border-radius: 50%; }
    
    .back-top { right: 12px; bottom: 134px; width: 40px; height: 40px; border-radius: 12px; }
    .back-top.bt-low { bottom: 74px; }
    .live-toast { left: 10px; bottom: 70px; max-width: calc(100% - 20px); }
    .dialog-lg .kd-hero { padding: 20px; }
    .dialog-lg .kd-body { padding: 20px; font-size: 14px; }
    .dialog-lg .kd-foot { padding: 0 20px 22px; flex-direction: column; }
    .pagination a, .pagination span { min-width: 34px; height: 34px; line-height: 34px; }

    
    .up-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
    .up-qr { padding: 10px; }
    .up-qr svg { max-width: 190px; }
    .pay-way { padding: 12px 13px; gap: 11px; }
    .pw-ico { width: 38px; height: 38px; border-radius: 11px; }
    .pw-text strong { font-size: 14px; }
    .pw-text small { font-size: 11.5px; }
    .up-amt { font-size: 19px; }
    .up-copy { padding: 9px 10px; gap: 7px; }
    .up-btn { height: 30px; padding: 0 10px; font-size: 12px; }
    .rc-q { padding: 7px 12px; font-size: 12.5px; }
}


@media (max-width: 360px) {
    .brand-text { display: none; }
    .header-search input::placeholder { color: transparent; }
    .header-search button { padding: 0 10px; font-size: 12px; }
    .cate-chip { padding: 8px 8px; font-size: 12px; }
    .cate-chip .c-ico { width: 24px; height: 24px; }
    .cate-cell { padding: 8px; }
    .cate-cell .c-ico { width: 24px; height: 24px; }
    .cate-cell .cc-text strong { font-size: 12px; }
    
    .cc-num-full { display: none; }
    .cc-num-short { display: inline; }
    .sort-tabs a { font-size: 11px; padding: 7px 1px; }
    
    .up-amt { font-size: 18px; }
    .up-btn { margin-left: 0; }
    .up-copy .up-btn { flex: 1 1 100%; justify-content: center; }
    .up-qr svg { max-width: 168px; }
    .up-steps { padding-left: 17px; font-size: 12px; }
    .up-kv { font-size: 12.5px; gap: 0 10px; }
}
.cc-num-short { display: none; }

@media (max-width: 360px) {
    .cc-num-full { display: none; }
    .cc-num-short { display: inline; }
}

@media (max-width: 400px) {
    .goods-grid { gap: 9px; }
}

@media (prefers-reduced-motion: reduce) {
    * { animation-duration: .01s !important; transition-duration: .01s !important; }
}










.product-area { scroll-margin-top: 76px; }
.product-area:focus { outline: none; }

@media (max-width: 760px) {
    

    html { scroll-behavior: auto !important; }
    .product-area { scroll-margin-top: 64px; }
}
