/* ===== Phone Guinée — mobile-first storefront ===== */
:root {
  --ink: #0A0D12;
  --ink2: #2B3440;
  --muted: #6B7785;
  --line: #E6E9EF;
  --bg: #F5F6F8;
  --paper: #FFFFFF;
  --orange: #FF7900;
  --orange-d: #E96C00;
  --wa: #25D366;
  --wa-d: #1DA851;
  --ok: #12B76A;
  --warn: #F79009;
  --err: #D92D20;
  --r: 14px;
  --r-lg: 20px;
  --shadow: 0 8px 28px rgba(10, 13, 18, .07);
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  font-size: 15px; line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* 多语言并列 */
.t1 { font-weight: inherit; }
.t2 { font-size: .8em; font-weight: 500; opacity: .62; margin-left: 7px; }
.t2:first-child { margin-left: 0; }

/* ---------- 公告条 ---------- */
.ann { background: var(--ink); color: #fff; font-size: 11.5px; letter-spacing: .2px; padding: 7px 16px; text-align: center; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.ann .t2 { opacity: .5; }

/* ---------- 头部 ---------- */
.hdr { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); -webkit-backdrop-filter: saturate(180%) blur(12px); backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--line); }
.hdr-top-in { display: flex; align-items: center; justify-content: space-between; gap: 8px; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.logo { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 12px; background: linear-gradient(135deg, #FF9A2E, #FF4D00); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 17px; letter-spacing: -.8px; box-shadow: 0 4px 14px rgba(255, 121, 0, .32); }
.brand-t { min-width: 0; }
.brand-t b { display: block; font-size: 18px; line-height: 1.1; font-weight: 800; letter-spacing: .2px; text-transform: uppercase; background: linear-gradient(135deg, #FF9A2E, #FF4D00); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand-t i { display: block; font-style: normal; font-size: 10.5px; color: var(--muted); line-height: 1.3; max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-top: 2px; }
.langbox { display: flex; align-items: center; gap: 5px; flex: 0 0 auto; }
.langchips { display: flex; gap: 4px; }
.chip { font-size: 11.5px; font-weight: 700; padding: 5px 8px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--muted); line-height: 1; }
.chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.modebtn { font-size: 11px; font-weight: 600; color: var(--muted); padding: 5px 7px; border-radius: 999px; line-height: 1; }
.nav { border-top: 1px solid var(--line); }
.nav-in { display: flex; gap: 4px; overflow-x: auto; padding: 0 16px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.nav-in::-webkit-scrollbar { display: none; }
.nav a { flex: 0 0 auto; font-size: 13px; font-weight: 600; color: var(--muted); padding: 11px 12px 9px; white-space: nowrap; border-bottom: 2px solid transparent; }
.nav a.on { color: var(--orange-d); border-bottom-color: var(--orange); }
.hdr.compact .brand-t i { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; margin-top: 16px; border-radius: 22px; overflow: hidden; color: #fff; padding: 26px 18px 20px; background: radial-gradient(130% 110% at 88% -10%, #3A2410 0%, #16191F 42%, #0A0D12 100%); }
.hero::after { content: ""; position: absolute; right: -30%; bottom: -70%; width: 90%; height: 130%; background: radial-gradient(closest-side, rgba(255, 121, 0, .40), transparent 70%); pointer-events: none; }
.hero-in { position: relative; z-index: 1; }
.hero-grid { display: flex; gap: 10px; align-items: flex-end; }
.hero-txt { flex: 1 1 auto; min-width: 0; }
.hero-guide { position: relative; flex: 0 0 auto; width: 104px; margin: 0; }
.hero-guide img { display: block; width: 100%; height: auto; border-radius: 16px 16px 0 0; border: 1px solid rgba(255, 255, 255, .20); border-bottom: 0; box-shadow: 0 12px 32px rgba(0, 0, 0, .38); }
.guide-chip { position: absolute; left: -6px; bottom: 16px; background: var(--wa); color: #fff; font-size: 10.5px; font-weight: 800; padding: 5px 9px; border-radius: 999px; white-space: nowrap; box-shadow: 0 6px 16px rgba(37, 211, 102, .40); animation: chipPulse 2s ease-in-out infinite; }
@keyframes chipPulse { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(-3px); } }
@media (max-width: 380px) {
  .hero-guide { width: 88px; }
  .hero-guide img { border-radius: 13px 13px 0 0; }
  .guide-chip { font-size: 9.5px; padding: 4px 7px; left: -4px; bottom: 12px; }
}
.kicker { display: inline-flex; align-items: center; gap: 6px; font-size: 10.5px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; color: #FFC38A; background: rgba(255, 121, 0, .14); border: 1px solid rgba(255, 154, 46, .28); padding: 5px 9px; border-radius: 999px; }
.hero h1 { font-size: clamp(25px, 7.4vw, 42px); line-height: 1.14; letter-spacing: -.9px; font-weight: 800; margin: 12px 0 0; }
.hero p.sub { margin-top: 9px; font-size: 13px; color: rgba(255, 255, 255, .72); max-width: 46ch; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.hero .cta .btn { flex: 1 1 150px; }
.trust { display: flex; flex-wrap: wrap; gap: 5px 16px; margin-top: 15px; }
.trust span { font-size: 11.5px; font-weight: 600; color: rgba(255, 255, 255, .74); }

/* ---------- 按钮 ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 46px; padding: 0 16px; border-radius: 13px; font-weight: 700; font-size: 14.5px; border: 0; cursor: pointer; transition: transform .12s ease, box-shadow .2s ease; }
.btn:active { transform: scale(.975); }
.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 8px 20px rgba(37, 211, 102, .26); }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 8px 20px rgba(255, 121, 0, .24); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-ghost { background: rgba(255, 255, 255, .10); color: #fff; border: 1px solid rgba(255, 255, 255, .22); }
.btn-line { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.btn-block { display: flex; width: 100%; }
.btn-sm { height: 38px; font-size: 13px; padding: 0 12px; border-radius: 10px; }
.btn .ic { width: 17px; height: 17px; flex: 0 0 auto; }

/* ---------- 区块 ---------- */
.sec { margin-top: 34px; }
.sec-hd { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin-bottom: 13px; }
.sec-t { font-size: 17px; font-weight: 800; letter-spacing: -.3px; }
.sec-s { font-size: 11.5px; color: #98A2B3; margin-top: 2px; }
.sec-a { font-size: 12px; font-weight: 700; color: var(--orange); white-space: nowrap; padding-bottom: 2px; }

/* ---------- 商品卡 ---------- */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.card { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; }
.card-link { display: block; flex: 1 1 auto; }
.card-img { position: relative; aspect-ratio: 1 / 1; background: #F3F4F7; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-img .ph { position: absolute; inset: 0; display: grid; place-items: center; font-size: 11px; font-weight: 700; color: #98A2B3; letter-spacing: .5px; }
.card-bd { padding: 9px 10px 10px; }
.card-name { font-size: 13.5px; font-weight: 700; letter-spacing: -.2px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-meta { font-size: 11px; color: var(--muted); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.price { font-size: 14px; font-weight: 800; color: var(--ink); letter-spacing: -.4px; margin-top: 6px; font-variant-numeric: tabular-nums; }
.price s { font-size: 10.5px; font-weight: 500; color: #A3ACBA; margin-left: 4px; }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-top: 8px; }
.views { font-size: 10.5px; color: #98A2B3; display: inline-flex; align-items: center; gap: 3px; }
.bdg { display: inline-flex; align-items: center; font-size: 10px; font-weight: 700; padding: 3px 6px; border-radius: 5px; line-height: 1.1; }
.bdg.ok { background: #E7F8EF; color: #067647; }
.bdg.low { background: #FFF4E5; color: #B54708; }
.bdg.out { background: #FEF0EF; color: #B42318; }
.bdg.pre { background: #EEF4FF; color: #3538CD; }
.bdg.new { background: #E7F8EF; color: #067647; }
.bdg.used { background: #F2F4F7; color: #475467; }
.bdg.refurb { background: #EEF4FF; color: #3538CD; }
.card-wa { display: flex; align-items: center; justify-content: center; gap: 5px; margin: 0 10px 10px; height: 33px; border-radius: 9px; background: #F0FDF4; color: var(--wa-d); font-size: 11.5px; font-weight: 700; border: 1px solid #D3F8DF; }

/* 横向轮播 */
.rail { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-bottom: 4px; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { flex: 0 0 168px; scroll-snap-align: start; }

/* 榜单 */
.rank { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.rank-row { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.rank-row:last-child { border-bottom: 0; }
.rank-no { width: 20px; font-size: 13px; font-weight: 800; color: #C3C9D4; text-align: center; flex: 0 0 auto; }
.rank-row:nth-child(1) .rank-no { color: var(--orange); }
.rank-row:nth-child(2) .rank-no { color: #B4BBC6; }
.rank-row:nth-child(3) .rank-no { color: #C88B5C; }
.rank-img { width: 48px; height: 48px; border-radius: 10px; overflow: hidden; background: #F3F4F7; flex: 0 0 auto; }
.rank-img img { width: 100%; height: 100%; object-fit: cover; }
.rank-t { flex: 1 1 auto; min-width: 0; }
.rank-t b { display: block; font-size: 13px; letter-spacing: -.2px; }
.rank-t span { font-size: 11.5px; color: var(--muted); }
.rank-p { font-size: 12.5px; font-weight: 800; white-space: nowrap; font-variant-numeric: tabular-nums; }

/* ---------- Orange Money 卡 ---------- */
.paycard { position: relative; background: linear-gradient(145deg, #171C24 0%, #0A0D12 100%); color: #fff; border-radius: var(--r-lg); padding: 18px; overflow: hidden; }
.paycard::after { content: ""; position: absolute; right: -18%; top: -40%; width: 60%; height: 120%; background: radial-gradient(closest-side, rgba(255, 121, 0, .28), transparent 70%); }
.paycard .pc-in { position: relative; z-index: 1; }
.om-pill { display: inline-flex; align-items: center; gap: 6px; font-size: 10px; font-weight: 800; letter-spacing: 1px; color: #FFB870; background: rgba(255, 121, 0, .13); border: 1px solid rgba(255, 121, 0, .3); padding: 4px 8px; border-radius: 6px; }
.om-num { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; padding: 12px; border-radius: 12px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .10); }
.om-num .n { font-size: 21px; font-weight: 800; letter-spacing: .6px; font-variant-numeric: tabular-nums; }
.om-num .l { font-size: 10px; color: rgba(255, 255, 255, .55); font-weight: 600; letter-spacing: .4px; text-transform: uppercase; }
.copy-btn { flex: 0 0 auto; height: 34px; padding: 0 11px; border-radius: 9px; background: #fff; color: var(--ink); font-size: 11.5px; font-weight: 800; border: 0; }
.om-meta { display: flex; gap: 14px; margin-top: 12px; font-size: 12px; color: rgba(255, 255, 255, .68); }
.om-meta b { display: block; color: #fff; font-size: 13px; font-weight: 700; margin-top: 1px; }
.om-warn { margin-top: 12px; font-size: 11px; line-height: 1.45; color: #FFC9A3; background: rgba(255, 121, 0, .10); border-left: 2px solid var(--orange); padding: 7px 9px; border-radius: 0 8px 8px 0; }
.om-cta { display: flex; gap: 8px; margin-top: 13px; }

/* ---------- 特性 ---------- */
.feat { display: grid; gap: 10px; }
.feat-item { display: flex; gap: 11px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 13px; }
.feat-ic { flex: 0 0 auto; width: 34px; height: 34px; border-radius: 10px; background: #FFF3E8; color: var(--orange-d); display: grid; place-items: center; font-size: 16px; }
.feat-t { font-size: 13.5px; font-weight: 700; }
.feat-d { font-size: 12px; color: var(--muted); line-height: 1.45; margin-top: 1px; }

/* ---------- 表单 ---------- */
.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 16px; }
.field { margin-bottom: 9px; }
.field label { display: block; font-size: 11.5px; font-weight: 700; color: var(--ink2); margin-bottom: 4px; }
.inp { width: 100%; height: 46px; border: 1px solid var(--line); background: #FAFBFC; border-radius: 11px; padding: 0 12px; font-size: 16px; outline: none; transition: border-color .15s, background .15s; }
.inp:focus { border-color: var(--orange); background: #fff; }
textarea.inp { height: 80px; padding: 11px 12px; resize: vertical; }
.form-note { font-size: 11.5px; color: var(--muted); margin-top: 8px; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; }
.msg { font-size: 12.5px; padding: 9px 11px; border-radius: 9px; margin-top: 9px; display: none; }
.msg.show { display: block; }
.msg.ok { background: #E7F8EF; color: #067647; }
.msg.err { background: #FEF0EF; color: #B42318; }

/* ---------- 分类 chips ---------- */
.filters { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 11px 12px; margin-bottom: 12px; }
.frow { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; margin-bottom: 8px; }
.frow:last-child { margin-bottom: 0; }
.flabel { font-size: 10.5px; font-weight: 800; color: #98A2B3; letter-spacing: .5px; text-transform: uppercase; width: 52px; flex: 0 0 auto; }
.fchip { font-size: 12px; font-weight: 600; padding: 6px 10px; border-radius: 8px; background: #F2F4F7; color: var(--ink2); border: 1px solid transparent; }
.fchip.on { background: #FFF3E8; color: var(--orange-d); border-color: #FFD9B8; }
.list-hd { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 4px 0 10px; }
.count { font-size: 12px; color: var(--muted); }
.sortsel { height: 34px; border: 1px solid var(--line); border-radius: 9px; background: #fff; font-size: 12.5px; padding: 0 8px; }
.empty { background: var(--paper); border: 1px dashed #D5DAE3; border-radius: var(--r); padding: 28px 16px; text-align: center; font-size: 13px; color: var(--muted); }

/* ---------- 品类 / 更多板块 ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.cat-card { position: relative; display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 13px 12px 12px; min-height: 104px; transition: transform .12s ease, box-shadow .2s ease; }
.cat-card:active { transform: scale(.985); }
.cat-card.on-sale { background: #FFF9F2; border-color: #FFD9B8; }
.cat-ic { font-size: 22px; line-height: 1; }
.cat-b { font-size: 13.5px; font-weight: 800; letter-spacing: -.2px; margin-top: 7px; }
.cat-d { font-size: 11px; color: var(--muted); line-height: 1.45; margin-top: 3px; }
.cat-soon, .cat-live { position: absolute; top: 11px; right: 11px; font-size: 9px; font-weight: 800; letter-spacing: .3px; padding: 3px 7px; border-radius: 999px; line-height: 1.1; }
.cat-soon { color: #B54708; background: #FFF4E5; border: 1px solid #F7D9AE; }
.cat-live { color: #067647; background: #E7F8EF; border: 1px solid #BFEBD3; }

/* ---------- 即将开放页 ---------- */
.soon-hero { background: radial-gradient(130% 120% at 85% -10%, #3A2410 0%, #16191F 45%, #0A0D12 100%); color: #fff; border-radius: var(--r-lg); padding: 28px 18px 22px; text-align: center; margin-top: 4px; }
.soon-ic { display: block; font-size: 44px; line-height: 1; }
.soon-badge { display: inline-block; margin-top: 12px; font-size: 10px; font-weight: 800; letter-spacing: .8px; text-transform: uppercase; color: #FFC38A; background: rgba(255, 121, 0, .14); border: 1px solid rgba(255, 154, 46, .3); padding: 5px 10px; border-radius: 999px; }
.soon-hero h1 { font-size: 24px; font-weight: 800; letter-spacing: -.6px; margin: 10px 0 0; }
.soon-d { font-size: 13px; color: rgba(255, 255, 255, .82); line-height: 1.55; margin-top: 8px; }
.soon-s { font-size: 11.5px; color: rgba(255, 255, 255, .58); line-height: 1.6; margin-top: 9px; }
.soon-cta { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
.soon-cta .btn { width: 100%; }

/* ---------- 详情 ---------- */
.crumb { font-size: 11.5px; color: var(--muted); padding: 12px 0 8px; display: flex; gap: 5px; flex-wrap: wrap; }
.crumb a { color: var(--muted); }
.gal { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.gal-main { aspect-ratio: 1 / 1; background: #F7F8FA; display: grid; place-items: center; }
.gal-main img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: flex; gap: 7px; padding: 8px; overflow-x: auto; }
.thumbs button { flex: 0 0 52px; width: 52px; height: 52px; border-radius: 9px; overflow: hidden; border: 1px solid var(--line); padding: 0; background: #F3F4F7; }
.thumbs button.on { border-color: var(--orange); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.dt-hd { margin-top: 14px; }
.dt-name { font-size: 21px; font-weight: 800; letter-spacing: -.5px; line-height: 1.25; }
.dt-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 7px; }
.dt-price { display: flex; align-items: baseline; gap: 8px; margin-top: 11px; }
.dt-price b { font-size: 25px; font-weight: 800; letter-spacing: -.8px; font-variant-numeric: tabular-nums; }
.dt-price s { font-size: 13px; color: #A3ACBA; }
.dt-price em { font-style: normal; font-size: 10.5px; font-weight: 700; color: var(--err); background: #FEF0EF; padding: 3px 6px; border-radius: 5px; }
.dt-stats { font-size: 11.5px; color: #98A2B3; margin-top: 7px; display: flex; gap: 12px; flex-wrap: wrap; }
.dt-cta { display: grid; gap: 8px; margin-top: 13px; }
.dt-cta .btn { width: 100%; }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 14px; margin-top: 12px; }
.panel-t { font-size: 13.5px; font-weight: 800; letter-spacing: -.2px; margin-bottom: 10px; display: flex; align-items: center; gap: 6px; }
.specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border-radius: 10px; overflow: hidden; }
.specs div { background: #fff; padding: 9px 11px; }
.specs .k { font-size: 10.5px; color: var(--muted); font-weight: 600; }
.specs .v { font-size: 12.5px; font-weight: 700; margin-top: 1px; }
.desc { font-size: 13.5px; line-height: 1.65; color: var(--ink2); white-space: pre-wrap; }
.terms { margin: 0; padding: 0; list-style: none; }
.terms li { position: relative; padding-left: 17px; font-size: 12.5px; color: var(--ink2); line-height: 1.6; margin-bottom: 5px; }
.terms li::before { content: ""; position: absolute; left: 3px; top: 7px; width: 5px; height: 5px; border-radius: 50%; background: var(--orange); }

/* 详情页底部吸附栏 */
.bbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: rgba(255, 255, 255, .97); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-top: 1px solid var(--line); padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 8px; }
.bbar .p { flex: 1 1 auto; min-width: 0; }
.bbar .p b { display: block; font-size: 15px; font-weight: 800; letter-spacing: -.4px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.bbar .p span { font-size: 10px; color: var(--muted); }
.bbar .btn { flex: 0 0 auto; height: 42px; padding: 0 14px; font-size: 13px; }
body.has-bbar { padding-bottom: 78px; }

/* ---------- 悬浮 WhatsApp ---------- */
.fab { position: fixed; right: 14px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 55; width: 54px; height: 54px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 26px rgba(37, 211, 102, .42); }
.fab svg { width: 27px; height: 27px; }
.fab::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(37, 211, 102, .5); animation: pulse 2.6s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: .8; } 70% { transform: scale(1.5); opacity: 0; } 100% { opacity: 0; } }

/* ---------- 页脚 ---------- */
.ftr { margin-top: 44px; background: var(--ink); color: rgba(255, 255, 255, .62); padding: 28px 0 calc(28px + env(safe-area-inset-bottom)); font-size: 12px; }
.ftr .brand-t b { background: linear-gradient(135deg, #FF9A2E, #FF4D00); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ftr .brand-t i { color: rgba(255, 255, 255, .5); }
.ftr-grid { display: grid; gap: 18px; margin-top: 16px; }
.ftr h4 { font-size: 11px; text-transform: uppercase; letter-spacing: .8px; color: rgba(255, 255, 255, .42); margin: 0 0 7px; font-weight: 800; }
.ftr a { display: block; padding: 3px 0; color: rgba(255, 255, 255, .72); }
.ftr-bot { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 18px; padding-top: 13px; font-size: 11px; line-height: 1.6; color: rgba(255, 255, 255, .42); }
.ftr-wa { display: inline-flex; align-items: center; gap: 6px; color: #4AE58A; font-weight: 700; }
.pay-chip { display: inline-flex; align-items: center; gap: 6px; background: rgba(255, 121, 0, .14); color: #FFB870; border: 1px solid rgba(255, 121, 0, .25); padding: 5px 9px; border-radius: 7px; font-size: 11px; font-weight: 700; }

/* ---------- 通用页面块 ---------- */
.page-hd { padding: 18px 0 6px; }
.page-hd h1 { font-size: 23px; font-weight: 800; letter-spacing: -.6px; }
.page-hd p { font-size: 12.5px; color: var(--muted); margin-top: 3px; }
.steps { counter-reset: s; }
.step { position: relative; display: flex; gap: 11px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 13px; margin-bottom: 9px; }
.step-n { flex: 0 0 auto; width: 26px; height: 26px; border-radius: 8px; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 12px; font-weight: 800; }
.step.done .step-n { background: var(--orange); }
.step-t { font-size: 13.5px; font-weight: 700; }
.step-d { font-size: 12px; color: var(--muted); line-height: 1.5; margin-top: 2px; }
.kv { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 12.5px; }
.kv:last-child { border-bottom: 0; }
.kv b { font-weight: 700; text-align: right; }
.danger { background: #FFF6F5; border: 1px solid #FBD9D5; border-radius: var(--r); padding: 12px 13px; font-size: 12px; line-height: 1.55; color: #912018; margin-top: 12px; }
.wa-block { background: linear-gradient(135deg, #25D366, #12A150); color: #fff; border-radius: var(--r-lg); padding: 17px; }
.wa-block h3 { font-size: 15px; font-weight: 800; }
.wa-block p { font-size: 11.5px; opacity: .88; margin-top: 3px; }
.wa-block .btn { background: #fff; color: #0B7A3E; margin-top: 12px; }

/* ---------- 动画 ---------- */
.rise { animation: rise .34s cubic-bezier(.22, .61, .36, 1) both; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto; } }

/* ---------- 平板 / 桌面 ---------- */
@media (min-width: 560px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .hero { padding: 32px 26px 24px; }
  .cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .soon-cta { flex-direction: row; }
  .soon-cta .btn { width: auto; flex: 1 1 0; }
  .rail > * { flex-basis: 200px; }
  .dt-cta { grid-template-columns: 1fr 1fr; }
  .specs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
  body { font-size: 15px; }
  .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
  .hdr-top-in { height: 62px; }
  .nav { border-top: 0; }
  .nav-in { padding: 0 16px 10px; gap: 4px; }
  .nav a { background: transparent; padding: 6px 10px; font-size: 13.5px; }
  .nav a:hover { color: var(--orange-d); }
  .hero { margin-top: 18px; padding: 44px 40px 34px; }
  .hero p.sub { font-size: 14.5px; }
  .hero .cta { margin-top: 20px; max-width: 420px; }
  .hero-guide { width: 218px; }
  .guide-chip { font-size: 12px; left: -14px; bottom: 22px; }
  .rail > * { flex-basis: 222px; }
  .card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
  .card { transition: box-shadow .2s, transform .2s; }
  .two-col { display: grid; grid-template-columns: 1.15fr .85fr; gap: 18px; align-items: start; }
  .dt-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: start; }
  .dt-side { position: sticky; top: 88px; }
  .feat { grid-template-columns: repeat(3, 1fr); }
  .ftr-grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; }
  .bbar { position: static; background: transparent; border: 0; padding: 0; margin-top: 14px; -webkit-backdrop-filter: none; backdrop-filter: none; }
  body.has-bbar { padding-bottom: 0; }
  .dd { display: none; }
}

/* ================= 拍卖频道 ================= */
.auc-hero { margin-top: 12px; border-radius: 22px; padding: 24px 18px 20px; color: #fff; background: radial-gradient(130% 110% at 88% -10%, #43260E 0%, #171B22 45%, #0A0D12 100%); position: relative; overflow: hidden; }
.auc-hero::after { content: ""; position: absolute; right: -25%; bottom: -60%; width: 85%; height: 120%; background: radial-gradient(closest-side, rgba(255, 121, 0, .34), transparent 70%); pointer-events: none; }
.auc-hero h1 { font-size: clamp(24px, 7vw, 38px); letter-spacing: -.9px; line-height: 1.14; font-weight: 800; margin-top: 12px; }
.auc-hero p { font-size: 13px; color: rgba(255, 255, 255, .72); margin-top: 9px; max-width: 52ch; }
.auc-hero-cta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 15px; position: relative; z-index: 1; }
.auc-badge { display: inline-grid; place-items: center; width: 62px; height: 62px; border-radius: 18px; font-size: 28px; background: rgba(255, 121, 0, .16); border: 1px solid rgba(255, 154, 46, .3); margin: 0 auto; }

/* 拍品卡 */
.lot-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.lot { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.lot:active { transform: scale(.99); }
.lot-img { position: relative; aspect-ratio: 1 / 1; background: #F3F4F7; overflow: hidden; }
.lot-img img { width: 100%; height: 100%; object-fit: cover; }
.lot-ph { position: absolute; inset: 0; display: grid; place-items: center; font-size: 13px; font-weight: 800; letter-spacing: 2px; color: #B6BECC; }
.lot-ph.big { position: static; height: 100%; font-size: 18px; }
.lot-st { position: absolute; left: 8px; top: 8px; font-size: 9.5px; font-weight: 800; letter-spacing: .2px; padding: 3px 7px; border-radius: 6px; color: #fff; background: rgba(10, 13, 18, .72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.lot-st.live { background: #D92D20; }
.lot-st.upcoming { background: #B54708; }
.lot-st.ended { background: rgba(10, 13, 18, .6); }
.lot-bd { padding: 9px 10px 10px; display: flex; flex-direction: column; gap: 3px; }
.lot-t { font-size: 13px; font-weight: 700; letter-spacing: -.2px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lot-price { display: flex; align-items: baseline; gap: 5px; margin-top: 3px; }
.lot-price span { font-size: 10px; color: var(--muted); }
.lot-price b { font-size: 14.5px; font-weight: 800; letter-spacing: -.4px; font-variant-numeric: tabular-nums; }
.lot-m { font-size: 10px; color: #98A2B3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lot-cd { font-size: 10.5px; color: var(--orange-d); font-weight: 700; display: flex; gap: 4px; align-items: center; margin-top: 2px; }
.cd { font-variant-numeric: tabular-nums; letter-spacing: .2px; }
.cd.lg { font-size: 17px; font-weight: 800; color: var(--ink); }
.cd.over { color: var(--muted); }

/* 详情 */
.auc-detail { display: block; margin-top: 4px; }
.auc-info { margin-top: 14px; }
.lot-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.pill-live { font-size: 10px; font-weight: 800; padding: 3px 8px; border-radius: 6px; color: #fff; background: #667085; }
.pill-live.live { background: #D92D20; }
.pill-live.upcoming { background: #B54708; }
.pill-live.ended { background: #667085; }
.pill-soft { font-size: 10px; font-weight: 700; padding: 3px 8px; border-radius: 6px; background: #F2F4F7; color: #475467; }
.auc-price { display: flex; gap: 14px; align-items: flex-end; flex-wrap: wrap; margin-top: 12px; padding: 12px 14px; border-radius: 13px; background: linear-gradient(150deg, #14181F, #0A0D12); color: #fff; }
.auc-price > div span { display: block; font-size: 10px; color: rgba(255, 255, 255, .55); font-weight: 700; letter-spacing: .3px; }
.auc-price > div b { display: block; font-size: 24px; font-weight: 800; letter-spacing: -.8px; font-variant-numeric: tabular-nums; margin-top: 2px; }
.auc-price .side b { font-size: 13px; letter-spacing: 0; color: #FFC38A; }
.auc-meta { display: flex; flex-wrap: wrap; gap: 6px; font-size: 11px; color: var(--muted); margin-top: 9px; }
.auc-cd { margin-top: 10px; font-size: 11.5px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.bid-form { margin-top: 12px; padding: 13px; border: 1px solid var(--line); border-radius: 13px; background: #FAFBFC; }
.bid-l { display: block; font-size: 12px; font-weight: 800; margin-bottom: 7px; }
.bid-row { display: flex; gap: 8px; }
.bid-row .inp { height: 44px; font-weight: 700; }
.bid-row .btn { flex: 0 0 auto; height: 44px; padding: 0 16px; }
.bid-bal { font-size: 11.5px; color: var(--muted); margin-top: 8px; }
.bid-bal b { color: var(--ink); }
.bid-lead { margin-top: 12px; padding: 13px; border-radius: 13px; background: #E7F8EF; color: #067647; font-weight: 800; font-size: 13.5px; }
.bid-note { margin-top: 12px; padding: 13px; border-radius: 13px; border: 1px solid var(--line); background: #FAFBFC; }
.bid-note .bn-t { font-size: 13.5px; font-weight: 800; }
.bid-note.win { background: #FFF7F1; border-color: #FFD9B8; }
.bid-list { display: flex; flex-direction: column; }
.bh-row { display: grid; grid-template-columns: 20px 1fr auto auto; gap: 8px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 12px; }
.bh-row:last-child { border-bottom: 0; }
.bh-row .bi { color: #C3C9D4; text-align: center; }
.bh-row .bn { color: var(--ink2); }
.bh-row .bp { font-weight: 800; font-variant-numeric: tabular-nums; }
.bh-row .bt { color: #98A2B3; font-size: 10.5px; white-space: nowrap; }
.bh-row.me .bn { color: var(--orange-d); font-weight: 800; }

/* 我的竞拍 */
.me-head { display: flex; align-items: center; gap: 10px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 12px; }
.me-id { flex: 1 1 auto; min-width: 0; }
.me-id b { display: block; font-size: 14px; }
.me-id span { font-size: 11.5px; color: var(--muted); }
.me-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 10px; }
.me-stat { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 12px; }
.me-stat span { font-size: 10.5px; color: var(--muted); font-weight: 700; }
.me-stat b { display: block; font-size: 19px; font-weight: 800; letter-spacing: -.6px; margin-top: 3px; font-variant-numeric: tabular-nums; }
.me-stat.main { background: linear-gradient(150deg, #14181F, #0A0D12); border-color: #0A0D12; }
.me-stat.main span { color: rgba(255, 255, 255, .6); }
.me-stat.main b { color: #fff; }
.my-lots { display: flex; flex-direction: column; }
.my-lot { display: flex; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.my-lot:last-child { border-bottom: 0; }
.ml-img { flex: 0 0 auto; width: 54px; height: 54px; border-radius: 10px; overflow: hidden; background: #F3F4F7; display: grid; place-items: center; }
.ml-img img { width: 100%; height: 100%; object-fit: cover; }
.ml-img i { font-style: normal; font-size: 9px; font-weight: 800; color: #B6BECC; letter-spacing: 1px; }
.ml-bd { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ml-t { font-size: 12.5px; font-weight: 700; display: flex; gap: 5px; align-items: center; flex-wrap: wrap; }
.ml-m { font-size: 10.5px; color: var(--muted); }
.ml-owe { font-size: 11.5px; color: #B54708; font-weight: 700; }
.ml-ok { font-size: 11.5px; color: #067647; font-weight: 700; }
.ml-bad { font-size: 11.5px; color: #B42318; font-weight: 700; }
.ml-hold { font-size: 11px; color: #98A2B3; }
.led { display: flex; flex-direction: column; }
.led-row { display: grid; grid-template-columns: 64px 1fr auto; gap: 8px; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 12px; }
.led-row:last-child { border-bottom: 0; }
.led-row .lt { color: var(--muted); }
.led-row .lv { font-weight: 800; font-variant-numeric: tabular-nums; }
.led-row .lv.neg { color: #B54708; }
.led-row .lv.pos { color: #067647; }
.led-row .ld { color: #98A2B3; font-size: 10.5px; }

@media (min-width: 560px) {
  .lot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
}
@media (min-width: 900px) {
  .lot-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
  .auc-hero { padding: 40px 40px 30px; }
  .auc-detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 26px; align-items: start; }
  .auc-info { margin-top: 0; }
  .lot:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
  .lot { transition: box-shadow .2s, transform .2s; }
}

/* ================= 分期付款 ================= */
.bdg.inst { background: #FFF1E6; color: #B54708; }
.inst-plans { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; -webkit-overflow-scrolling: touch; }
.inst-chip { flex: 0 0 auto; display: flex; flex-direction: column; gap: 1px; align-items: flex-start; padding: 8px 12px; border-radius: 11px; border: 1.5px solid var(--line); background: var(--paper); cursor: pointer; transition: border-color .15s, background .15s; }
.inst-chip b { font-size: 13px; font-weight: 800; letter-spacing: -.2px; }
.inst-chip span { font-size: 10px; color: var(--muted); }
.inst-chip.on { border-color: var(--orange); background: #FFF7F1; }
.inst-chip.on span { color: var(--orange-d); font-weight: 700; }
.inst-in { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.inst-in label { font-size: 12px; font-weight: 700; color: var(--ink2); white-space: nowrap; }
.inst-in .inp { flex: 1 1 120px; height: 40px; font-weight: 700; }
.inst-in .hint { flex: 1 1 100%; margin: 0; }
.inst-out { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.inst-out .io { padding: 11px 12px; border-radius: 12px; background: #F7F8FA; border: 1px solid var(--line); }
.inst-out .io span { display: block; font-size: 10.5px; color: var(--muted); font-weight: 700; }
.inst-out .io b { display: block; font-size: 15px; font-weight: 800; letter-spacing: -.4px; margin-top: 3px; font-variant-numeric: tabular-nums; }
.inst-out .io.main { background: linear-gradient(150deg, #14181F, #0A0D12); border-color: #0A0D12; }
.inst-out .io.main span { color: rgba(255, 255, 255, .6); }
.inst-out .io.main b { color: #FFC38A; font-size: 19px; }
.inst-note { margin-top: 10px; }
.inst-cta { margin-top: 10px; width: 100%; }
@media (min-width: 560px) {
  .inst-out { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .inst-cta { width: auto; }
}

/* ================= 中拍祝贺 ================= */
.win-hero { position: relative; margin-top: 10px; padding: 30px 20px 26px; border-radius: 22px; text-align: center; color: #fff; overflow: hidden;
  background: radial-gradient(120% 110% at 50% -10%, #4A2A0D 0%, #191C22 55%, #0A0D12 100%); }
.win-hero::before { content: ""; position: absolute; inset: -40% -10% auto; height: 120%;
  background: conic-gradient(from 0deg, rgba(255,121,0,.28), transparent 30%, rgba(255,121,0,.22) 55%, transparent 80%); animation: spin 14s linear infinite; pointer-events: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.win-hero > * { position: relative; z-index: 1; }
.win-emoji { font-size: 40px; line-height: 1; }
.win-hero h1 { font-size: clamp(22px, 6.4vw, 32px); font-weight: 800; letter-spacing: -.8px; margin-top: 8px; }
.win-hero p { font-size: 12.5px; color: rgba(255,255,255,.7); margin-top: 5px; }
.win-code { margin: 18px auto 0; max-width: 320px; padding: 16px 14px; border-radius: 16px;
  background: rgba(255,255,255,.07); border: 1px dashed rgba(255,195,138,.55); }
.win-code span { display: block; font-size: 10.5px; letter-spacing: 1.4px; text-transform: uppercase; color: rgba(255,255,255,.6); font-weight: 800; }
.win-code b { display: block; margin-top: 6px; font-size: clamp(26px, 9vw, 38px); font-weight: 800; letter-spacing: 3px;
  font-variant-numeric: tabular-nums; color: #FFC38A; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.win-steps { display: grid; gap: 8px; margin-top: 16px; text-align: left; }
.win-step { display: flex; gap: 9px; align-items: flex-start; font-size: 12px; color: rgba(255,255,255,.8); padding: 9px 11px; border-radius: 11px; background: rgba(255,255,255,.05); }
.win-step i { font-style: normal; flex: 0 0 auto; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; font-size: 10px; font-weight: 800; background: rgba(255,121,0,.28); color: #FFC38A; }
.win-cta { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.win-cta .btn { flex: 1 1 150px; }
.win-foot { font-size: 11px; color: rgba(255,255,255,.5); margin-top: 12px; }

/* 中拍提醒条 */
.win-banner { display: flex; align-items: center; gap: 10px; margin-top: 10px; padding: 12px 14px; border-radius: 14px; color: #fff;
  background: linear-gradient(120deg, #B54708, #7A2E0A 60%, #4A1D06); box-shadow: 0 8px 20px -12px rgba(181,71,8,.8); }
.win-banner .wb-e { font-size: 22px; }
.win-banner .wb-t { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.win-banner .wb-t b { font-size: 13.5px; font-weight: 800; letter-spacing: -.2px; }
.win-banner .wb-t span { font-size: 11px; color: rgba(255,255,255,.78); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.win-banner .wb-a { font-size: 18px; font-weight: 800; color: #FFC38A; }

/* ================= 竞买人密码 ================= */
.pwd-forgot { margin-top: 12px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.pwd-forgot summary { cursor: pointer; padding: 12px 14px; font-size: 13px; font-weight: 700; color: var(--ink); list-style: none; display: flex; align-items: center; gap: 6px; }
.pwd-forgot summary::-webkit-details-marker { display: none; }
.pwd-forgot summary:hover { color: var(--orange-d); }
.pwd-forgot[open] summary { border-bottom: 1px solid var(--line); }
.pwd-forgot .pf-bd { padding: 12px 14px 14px; }
.pwd-forgot .pf-bd p { font-size: 12px; color: var(--muted); line-height: 1.65; margin-bottom: 10px; }

/* ================= 拍品浏览 / 报名人数 ================= */
.lot-social { display: flex; align-items: center; gap: 10px; margin-top: 5px; padding-top: 5px; border-top: 1px dashed var(--line); font-size: 10.5px; color: #667085; font-variant-numeric: tabular-nums; }
.lot-social > span { display: inline-flex; align-items: center; gap: 3px; white-space: nowrap; }
.lot-social .ic { width: 12px; height: 12px; flex: 0 0 auto; opacity: .75; }
.lot-social svg { flex: 0 0 auto; opacity: .75; }

/* ================= WhatsApp 咨询入口（场景分流） ================= */
.wa-scenes { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.wa-scenes .btn { margin-top: 0; height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-size: 12.5px; font-weight: 800; background: #fff; color: #0B7A3E; border: 1px solid rgba(255, 255, 255, .55); }
.wa-scenes .btn:hover { background: #F0FFF6; }
.wa-scenes .ws-e { font-size: 15px; line-height: 1; }
.ws-hint { font-size: 11px; color: rgba(255, 255, 255, .82); margin-top: 9px; line-height: 1.55; }
@media (max-width: 380px) { .wa-scenes { grid-template-columns: 1fr; } }

/* ================= WhatsApp 图标尺寸兜底 ================= */
.ic { width: 16px; height: 16px; flex: 0 0 auto; }
.card-wa .ic { width: 14px; height: 14px; }
.ftr-wa .ic { width: 14px; height: 14px; }
