/* 设备选配页：声卡 → 麦克风 → 耳机 → 线材 → 配置单（在 site.css、app.css 之后引用） */

.gear-hero { padding:64px 0 36px; text-align:center; }
.gear-kicker { margin:0 0 10px; font-size:17px; font-weight:600; color:var(--ink); }
.gear-hero h1 { margin:0; font-size:60px; line-height:1.06; font-weight:700; letter-spacing:-.03em; }
.gear-hero h1 .grad { background:linear-gradient(90deg,#0a84ff 0%,#5e5ce6 50%,#bf5af2 100%); -webkit-background-clip:text; background-clip:text; color:transparent; }
.gear-sub { margin:18px auto 0; max-width:640px; font-size:19px; line-height:1.55; color:var(--muted); text-wrap:balance; }
.gear-flow { display:flex; justify-content:center; flex-wrap:wrap; gap:8px; margin:26px 0 0; padding:0; list-style:none; }
.gear-flow li { display:inline-flex; align-items:center; gap:8px; padding:6px 14px 6px 8px; border-radius:980px; background:rgba(255,255,255,.75); box-shadow:inset 0 0 0 1px rgba(255,255,255,.9), 0 4px 14px rgba(30,40,80,.05); font-size:14px; font-weight:600; color:#424245; }
.gear-flow li svg { width:22px; height:22px; padding:3px; border-radius:50%; background:linear-gradient(135deg,var(--c1),var(--c2)); color:#fff; }

/* ---------- 步骤条（吸顶） ---------- */
#gear-top { scroll-margin-top:0; }
.gsteps { position:sticky; top:0; z-index:15; background:rgba(255,255,255,.84); -webkit-backdrop-filter:saturate(180%) blur(20px); backdrop-filter:saturate(180%) blur(20px); border-top:1px solid rgba(0,0,0,.05); border-bottom:1px solid rgba(0,0,0,.08); }
.gsteps .wrap { position:relative; }
.gsteps-list { display:flex; gap:4px; margin:0; padding:6px 0; list-style:none; }
.gsteps-list li { flex:1 1 0; min-width:0; }
.gsteps-list button { display:flex; align-items:center; gap:10px; width:100%; padding:8px 10px; border:0; border-radius:12px; background:none; font:inherit; color:inherit; text-align:left; cursor:pointer; transition:background .2s ease; }
.gsteps-list button:hover { background:rgba(0,0,0,.04); }
.gsteps-list button:focus-visible { outline:3px solid var(--blue); outline-offset:1px; }
.gs-n { flex:none; display:grid; place-items:center; width:26px; height:26px; border-radius:50%; box-shadow:inset 0 0 0 1.5px #c7c7cc; font-size:13px; font-weight:700; color:var(--muted); font-variant-numeric:tabular-nums; }
.gs-n svg { width:13px; height:13px; }
.gs-t { min-width:0; }
.gs-t b { display:block; font-size:14px; line-height:1.3; font-weight:600; color:var(--ink); white-space:nowrap; }
.gs-t small { display:block; overflow:hidden; font-size:12px; line-height:1.35; color:var(--faint); white-space:nowrap; text-overflow:ellipsis; }
.gsteps-list li.is-done .gs-n { background:var(--good); color:#fff; box-shadow:none; }
.gsteps-list li.is-done small { color:#424245; }
.gsteps-list li.is-now .gs-n { background:var(--blue); color:#fff; box-shadow:0 0 0 4px rgba(0,113,227,.16); }
.gsteps-list li.is-now b { color:var(--blue); }
.gsteps-bar { position:absolute; left:0; right:0; bottom:-1px; height:2px; background:linear-gradient(90deg,#0a84ff,#5e5ce6,#bf5af2); transform-origin:left; transition:transform .5s var(--ease); }

/* ---------- 每一步 ---------- */
.gear-stage { min-height:60vh; padding:36px 0 104px; }
body.has-tray .gear-stage { padding-bottom:150px; }
.gstep-head { max-width:780px; margin:0 0 22px; }
.gstep-kicker { margin:0 0 6px; font-size:14px; font-weight:600; color:var(--blue); }
.gstep-head h2 { margin:0; font-size:40px; line-height:1.1; font-weight:700; letter-spacing:-.025em; }
.gstep-head p { margin:12px 0 0; font-size:17px; line-height:1.65; color:var(--muted); }
.gstep-head p b { color:var(--ink); font-weight:600; }
.gtools { display:flex; align-items:center; gap:10px 12px; flex-wrap:wrap; margin:0 0 18px; }
.gtools-gap { flex:1; }
.seg.seg-sm span { padding:6px 14px; font-size:14px; }
.gskip { font-size:15px; }
.ghave { display:inline-flex; align-items:center; flex-wrap:wrap; gap:4px 8px; padding:6px 8px 6px 14px; border-radius:980px; background:#e5f6ec; color:#16784a; font-size:14px; font-weight:600; }
.ghave .btn-text { font-size:13px; font-weight:500; }

/* 设备卡片 */
.ggrid { display:grid; grid-template-columns:repeat(auto-fill,minmax(232px,1fr)); gap:16px; }
.gcard { position:relative; display:flex; flex-direction:column; min-width:0; padding:12px 12px 16px; border-radius:24px; background:linear-gradient(170deg,rgba(255,255,255,.74) 0%,color-mix(in srgb,var(--tint2) 46%,transparent) 100%); -webkit-backdrop-filter:blur(26px) saturate(170%); backdrop-filter:blur(26px) saturate(170%); border:1px solid rgba(255,255,255,.82); box-shadow:0 8px 26px rgba(30,40,80,.06); transition:box-shadow .25s var(--ease), transform .25s var(--ease); }
.gcard.is-picked { box-shadow:inset 0 0 0 2px var(--c1), 0 12px 30px color-mix(in srgb,var(--c1) 22%,transparent); }
@media (hover:hover) and (pointer:fine) { .gcard:hover { transform:translateY(-2px); box-shadow:0 14px 34px rgba(30,40,80,.1); } .gcard.is-picked:hover { box-shadow:inset 0 0 0 2px var(--c1), 0 16px 36px color-mix(in srgb,var(--c1) 26%,transparent); } }
.gcard-head { position:relative; }
.gpic { display:grid; place-items:center; aspect-ratio:16 / 10; overflow:hidden; border-radius:16px; background:#fff; box-shadow:inset 0 0 0 1px rgba(0,0,0,.05); }
.gpic img { display:block; width:100%; height:100%; object-fit:contain; }
.gpic.is-empty { aspect-ratio:auto; height:104px; background:linear-gradient(135deg,color-mix(in srgb,var(--c1) 13%,#fff) 0%,color-mix(in srgb,var(--c2) 17%,#fff) 100%); box-shadow:inset 0 0 0 1px rgba(255,255,255,.9); color:var(--ink-c); }
.gpic.is-empty svg { width:44px; height:44px; opacity:.9; }
.gpic-mark { position:absolute; left:12px; bottom:10px; font-size:12px; font-weight:700; letter-spacing:.04em; color:var(--ink-c); opacity:.7; }
.gcmp { position:absolute; top:9px; right:9px; }
.gcmp input { position:absolute; opacity:0; pointer-events:none; }
.gcmp span { display:inline-flex; align-items:center; gap:6px; padding:5px 11px 5px 8px; border-radius:980px; background:rgba(255,255,255,.94); box-shadow:0 1px 4px rgba(0,0,0,.1); font-size:12px; font-weight:600; color:#424245; cursor:pointer; user-select:none; transition:background .2s ease, color .2s ease; }
.gcmp span::before { content:""; width:14px; height:14px; border-radius:4px; background:#fff no-repeat center / 10px 10px; box-shadow:inset 0 0 0 1.5px #aeaeb2; }
.gcmp input:checked + span { background:var(--ink); color:#fff; }
.gcmp input:checked + span::before { background-color:#fff; box-shadow:none; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M1.5 5.2 4 7.6l4.5-5' fill='none' stroke='%231d1d1f' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.gcmp input:focus-visible + span { outline:3px solid var(--blue); outline-offset:2px; }
.gcard-body { display:flex; flex-direction:column; flex:1; padding:14px 6px 0; }
.gcard-brand { display:flex; align-items:center; gap:8px; margin:0; font-size:13px; font-weight:600; color:var(--muted); }
.gtier { padding:1px 8px; border-radius:980px; background:rgba(255,255,255,.92); color:var(--ink-c); font-size:11px; font-weight:700; letter-spacing:.02em; }
.gcard-model { margin:4px 0 0; font-size:22px; line-height:1.2; font-weight:700; letter-spacing:-.02em; overflow-wrap:anywhere; }
.gcard-tag { margin:6px 0 0; font-size:14px; line-height:1.5; color:var(--muted); }
.gsum { display:grid; margin:14px 0 0; }
.gsum div { display:grid; grid-template-columns:66px minmax(0,1fr); gap:8px; padding:7px 0; border-top:1px solid rgba(0,0,0,.06); font-size:13px; line-height:1.45; }
.gsum dt { color:var(--muted); }
.gsum dd { margin:0; font-weight:500; font-variant-numeric:tabular-nums; overflow-wrap:anywhere; }
.gsum .is-good dd { color:var(--good); font-weight:600; }
.gsum .is-ok dd { color:var(--link); font-weight:600; }
.gsum .is-warn dd { color:var(--warn); font-weight:600; }
.gsum .is-bad dd { color:var(--bad); font-weight:600; }
.gmore { align-self:flex-start; margin:8px 0 0 -4px; font-size:14px; }
.gcard-foot { display:flex; align-items:center; gap:10px; margin-top:auto; padding:16px 6px 0; }
.gprice { margin-right:auto; font-size:21px; line-height:1.2; font-weight:700; color:var(--ink-c); font-variant-numeric:tabular-nums; white-space:nowrap; }
.gprice small { margin-left:4px; font-size:11px; font-weight:600; color:var(--muted); }
.gprice.is-ask { font-size:15px; font-weight:600; color:var(--muted); }

/* 搭不搭的提示 */
.gfits { display:grid; gap:6px; margin:12px 0 0; padding:0; list-style:none; }
.gfits li { display:flex; align-items:flex-start; gap:8px; padding:8px 10px; border-radius:12px; background:rgba(255,255,255,.8); font-size:13px; line-height:1.5; }
.gfits li > i { flex:none; display:grid; place-items:center; width:18px; height:18px; margin-top:1px; border-radius:50%; color:#fff; font-style:normal; }
.gfits li > i svg { width:10px; height:10px; }
.gfits b { font-weight:600; }
.gfits .fit-good > i { background:var(--good); }
.gfits .fit-ok > i { background:var(--blue); }
.gfits .fit-warn { background:#fff6e5; }
.gfits .fit-warn > i { background:#e8a838; }
.gfits .fit-bad { background:#fff0f1; }
.gfits .fit-bad > i { background:var(--bad); }
.gfits small { display:block; color:var(--muted); }

/* 上一步 / 下一步 */
.gnavbar { display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; margin-top:36px; padding-top:22px; border-top:1px solid rgba(0,0,0,.08); }
.gnavbar .grow { flex:1; }

/* 空状态 */
.gempty { padding:44px 20px; text-align:center; color:var(--muted); }
.gempty b { display:block; margin-bottom:6px; font-size:19px; color:var(--ink); }

/* ---------- 对比栏（底部浮着） ---------- */
.gtray { position:fixed; left:50%; bottom:18px; z-index:40; width:min(720px, calc(100% - 24px)); transform:translateX(-50%); }
.gtray-in { display:flex; align-items:center; gap:10px; padding:9px 9px 9px 16px; border-radius:20px; background:rgba(29,29,31,.9); color:#fff; -webkit-backdrop-filter:blur(20px); backdrop-filter:blur(20px); box-shadow:0 16px 40px rgba(0,0,0,.25); animation:toast-in .35s var(--ease) both; }
.gtray-label { flex:none; font-size:14px; font-weight:600; opacity:.8; }
.gtray-items { display:flex; flex:1; gap:6px; min-width:0; overflow-x:auto; scrollbar-width:none; }
.gtray-items::-webkit-scrollbar { display:none; }
.gtray-chip { display:inline-flex; flex:none; align-items:center; gap:2px; padding:4px 4px 4px 11px; border-radius:980px; background:rgba(255,255,255,.14); font-size:13px; white-space:nowrap; }
.gtray-chip button { display:grid; place-items:center; width:22px; height:22px; border:0; border-radius:50%; background:none; color:#fff; opacity:.7; cursor:pointer; }
.gtray-chip button:hover { opacity:1; background:rgba(255,255,255,.15); }
.gtray .btn { flex:none; }
.gtray .btn[disabled] { opacity:1; background:rgba(255,255,255,.16); color:rgba(255,255,255,.75); }

/* ---------- 对比表（弹窗） ---------- */
.modal.modal-wide { width:min(1040px, 100%); }
.cmp-tools { display:flex; align-items:center; gap:10px 14px; flex-wrap:wrap; margin:6px 0 14px; }
.cmp-note { font-size:13px; color:var(--muted); }
.cmp-note i { display:inline-block; width:9px; height:9px; margin-right:5px; border-radius:50%; background:var(--good); vertical-align:0; }
.cmp-scroll { overflow-x:auto; margin:0 -22px; padding:0 22px 4px; -webkit-overflow-scrolling:touch; }
.cmp-table { width:100%; border-collapse:separate; border-spacing:0; font-size:14px; line-height:1.5; }
.cmp-table th, .cmp-table td { min-width:156px; padding:10px 12px; border-bottom:1px solid rgba(0,0,0,.06); text-align:left; vertical-align:top; }
.cmp-table thead th { padding-top:4px; padding-bottom:14px; vertical-align:bottom; font-weight:400; }
.cmp-table .cmp-k { position:sticky; left:0; z-index:1; min-width:112px; width:130px; background:#fff; font-weight:500; color:var(--muted); }
.cmp-table .cmp-k small { display:block; margin-top:2px; font-size:11px; font-weight:400; line-height:1.4; color:var(--faint); }
.cmp-brand { display:block; font-size:12px; font-weight:600; color:var(--muted); }
.cmp-model { display:block; font-size:17px; line-height:1.25; font-weight:700; color:var(--ink); }
.cmp-meta { display:flex; align-items:center; gap:8px; margin-top:6px; }
.cmp-meta .gtier { box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--c1) 30%,transparent); }
.cmp-price { font-size:15px; font-weight:700; color:var(--ink-c); }
.cmp-price.is-ask { font-weight:600; color:var(--muted); }
.cmp-actions { display:flex; align-items:center; gap:4px; margin-top:10px; }
.cmp-group th { padding-top:20px; padding-bottom:8px; border-bottom:1.5px solid var(--ink); background:#fff; font-size:13px; font-weight:700; color:var(--ink); letter-spacing:.02em; }
.cmp-group th:first-child { position:sticky; left:0; z-index:1; }
.cmp-table td.is-best { color:var(--good); font-weight:700; }
.cmp-table td.is-best::before { content:""; display:inline-block; width:8px; height:8px; margin-right:6px; border-radius:50%; background:var(--good); vertical-align:1px; }
.cmp-table .is-derived td { background:rgba(0,113,227,.035); }
.v-yes { color:var(--good); font-weight:600; }
.v-no { color:var(--bad); font-weight:600; }
.v-warn { color:var(--warn); font-weight:600; }
.v-na { color:var(--faint); }
.v-note { font-size:13px; color:#424245; }

/* 详细参数（弹窗） */
.gdetail-top { display:grid; grid-template-columns:132px minmax(0,1fr); gap:16px; align-items:center; }
.gdetail-top .gpic { aspect-ratio:1; height:auto; }
.gdetail-top .gpic.is-empty svg { width:40px; height:40px; }
.gdetail .gcard-tag { margin-top:4px; }
.gdetail .gprice { display:block; margin-top:10px; }
.gdetail-g { margin:22px 0 0; font-size:13px; font-weight:700; letter-spacing:.02em; color:var(--ink-c); }
.gdetail .kv { margin-top:6px; }
.gdetail .kv dt small { display:block; font-size:11px; color:var(--faint); }

/* ---------- 我已经有了：选牌子 → 看图认型号（弹窗） ---------- */
.modal.modal-own { width:min(720px, 100%); }
.own .lead { margin-top:2px; }
.own-brands { display:grid; grid-template-columns:repeat(auto-fill,minmax(148px,1fr)); gap:10px; margin-top:16px; }
.own-brand { display:flex; flex-direction:column; align-items:flex-start; gap:1px; min-height:84px; padding:14px 16px; border:0; border-radius:16px; background:#f5f5f7; font:inherit; color:inherit; text-align:left; cursor:pointer; transition:background .2s ease, box-shadow .2s ease; }
.own-brand:hover { background:#ebebf0; }
.own-brand:focus-visible, .own-model:focus-visible { outline:3px solid var(--blue); outline-offset:2px; }
.own-brand b { font-size:17px; line-height:1.3; font-weight:700; overflow-wrap:anywhere; }
.own-brand span { font-size:13px; color:#424245; }
.own-brand small { margin-top:auto; padding-top:6px; font-size:12px; color:var(--faint); }
.own-back { margin:0 0 6px -4px; font-size:15px; }
.own-title { margin:0; font-size:22px; line-height:1.3; font-weight:700; }
.own-title span { margin-left:8px; font-size:15px; font-weight:500; color:var(--muted); }
.own .form-hint { margin-top:4px; }
.own-models { display:grid; grid-template-columns:repeat(auto-fill,minmax(150px,1fr)); gap:12px; margin-top:14px; }
.own-model { display:flex; flex-direction:column; gap:8px; padding:8px 8px 12px; border:0; border-radius:18px; background:#fff; box-shadow:inset 0 0 0 1px rgba(0,0,0,.08); font:inherit; color:inherit; text-align:left; cursor:pointer; transition:box-shadow .2s ease, transform .2s ease; }
.own-model:hover { box-shadow:inset 0 0 0 2px var(--blue); }
.own-model .gpic, .own-model .gpic.is-empty { aspect-ratio:1; height:auto; border-radius:12px; }
.own-model .gpic.is-empty svg { width:40px; height:40px; }
.own-model b { padding:0 4px; font-size:15px; line-height:1.3; font-weight:600; overflow-wrap:anywhere; }
.own-none { display:flex; align-items:center; justify-content:space-between; gap:10px 14px; flex-wrap:wrap; margin-top:20px; padding-top:16px; border-top:1px solid rgba(0,0,0,.08); font-size:14px; color:var(--muted); }
.litem.is-skip b { color:var(--ink); font-weight:600; }

/* ---------- 线材 ---------- */
.gneeds { display:grid; gap:14px; }
.gneed { padding:18px 20px; border-radius:22px; background:var(--glass); -webkit-backdrop-filter:blur(26px) saturate(170%); backdrop-filter:blur(26px) saturate(170%); border:1px solid rgba(255,255,255,.8); box-shadow:0 6px 20px rgba(30,40,80,.05); }
.gneed-head { display:flex; align-items:flex-start; gap:10px; }
.gneed-head p { margin:0; font-size:15px; line-height:1.6; }
.gneed-tag { flex:none; margin-top:1px; padding:2px 9px; border-radius:980px; font-size:12px; font-weight:700; }
.gneed-tag.is-req { background:#ffe9ec; color:#c11d43; }
.gneed-tag.is-opt { background:#efeff2; color:#6e6e73; }
.gneed-tag.is-ok { background:#e5f6ec; color:#16784a; }
.crows { display:grid; gap:8px; margin-top:12px; }
.crow { display:flex; align-items:center; gap:12px; flex-wrap:wrap; padding:12px 12px 12px 14px; border-radius:16px; background:rgba(255,255,255,.85); box-shadow:inset 0 0 0 1px rgba(0,0,0,.05); }
.crow.is-on { box-shadow:inset 0 0 0 2px var(--blue); }
.crow-main { flex:1 1 220px; min-width:0; }
.crow-main b { display:block; font-size:15px; font-weight:600; }
.crow-main small { display:block; margin-top:1px; font-size:13px; line-height:1.45; color:var(--muted); }
.crow .gprice { margin:0; font-size:16px; }
.crow .gprice.is-ask { font-size:14px; }
.qty { display:inline-flex; align-items:center; border-radius:980px; background:rgba(0,0,0,.05); }
.qty button { display:grid; place-items:center; width:30px; height:30px; border:0; border-radius:50%; background:none; font:inherit; font-size:17px; color:var(--ink); cursor:pointer; }
.qty button:hover { background:rgba(0,0,0,.06); }
.qty button[disabled] { opacity:.35; cursor:default; }
.qty span { min-width:22px; text-align:center; font-size:14px; font-weight:600; font-variant-numeric:tabular-nums; }
.gsub { margin:34px 4px 12px; font-size:13px; font-weight:600; letter-spacing:.04em; color:var(--muted); }

/* ---------- 配置单 ---------- */
.sheet-grid { display:grid; grid-template-columns:minmax(0,1.35fr) minmax(0,1fr); gap:16px; align-items:start; }
.sheet-list { margin:14px 0 0; padding:0; list-style:none; }
.sheet-list li { display:grid; grid-template-columns:58px minmax(0,1fr) auto; gap:12px; align-items:baseline; padding:13px 0; border-top:1px solid rgba(0,0,0,.07); font-size:16px; }
.sheet-list li:first-child { border-top:0; }
.sheet-list .k { font-size:13px; color:var(--muted); }
.sheet-list .n b { font-weight:600; }
.sheet-list .n small { display:block; margin-top:1px; font-size:13px; color:var(--muted); }
.sheet-list .p { font-weight:600; font-variant-numeric:tabular-nums; white-space:nowrap; }
.sheet-list .p.is-ask { font-weight:500; color:var(--muted); }
.sheet-list li.is-skip .n, .sheet-list li.is-none .n { color:var(--muted); }
.sheet-list li.is-none .btn-text { font-size:14px; }
.sheet-total { display:flex; align-items:baseline; justify-content:space-between; gap:12px; flex-wrap:wrap; margin-top:4px; padding-top:14px; border-top:1.5px solid var(--ink); }
.sheet-total span { font-size:15px; color:var(--muted); }
.sheet-total b { font-size:30px; line-height:1.1; font-weight:700; letter-spacing:-.02em; font-variant-numeric:tabular-nums; }
.sheet-total small { flex-basis:100%; font-size:13px; color:var(--muted); }
.sheet-checks { margin-top:18px; }
.buy { text-align:center; }
.buy h2 { font-size:24px; }
.buy-qr { width:min(210px, 100%); margin:18px auto 0; padding:10px; border-radius:22px; background:#fff; box-shadow:inset 0 0 0 1px rgba(0,0,0,.06), 0 10px 30px rgba(30,40,80,.08); }
.buy-qr img { display:block; width:100%; height:auto; border-radius:12px; }
.buy-hint { margin:10px 0 0; font-size:13px; color:var(--muted); }
.buy .contact-id { margin-top:14px; }
.buy .btn-block { margin-top:16px; }
.buy-next { margin:16px 0 0; font-size:13px; line-height:1.6; color:var(--muted); }
.gafter { display:flex; align-items:center; justify-content:center; gap:8px 16px; flex-wrap:wrap; margin-top:30px; font-size:15px; color:var(--muted); }
.gafter a { color:var(--link); text-decoration:none; }
.gafter a:hover { text-decoration:underline; }

/* ---------- 分享出去的清单（/gear/list/） ---------- */
.lwrap { max-width:840px; padding-top:52px; padding-bottom:96px; }
.lhead { margin-bottom:30px; text-align:center; }
.lhead h1 { margin:0; font-size:46px; line-height:1.1; font-weight:700; letter-spacing:-.03em; text-wrap:balance; }
.lhead .gear-sub { margin-top:14px; font-size:17px; }
.lactions { display:flex; align-items:center; justify-content:center; gap:12px 22px; flex-wrap:wrap; margin-top:24px; }
.llist { display:grid; gap:14px; }
.litem { display:grid; grid-template-columns:128px minmax(0,1fr) auto; grid-template-areas:"pic head price" "pic body body"; gap:4px 20px; align-items:start; padding:16px 20px 16px 16px; border-radius:24px; background:linear-gradient(170deg,rgba(255,255,255,.76) 0%,color-mix(in srgb,var(--tint2) 42%,transparent) 100%); -webkit-backdrop-filter:blur(26px) saturate(170%); backdrop-filter:blur(26px) saturate(170%); border:1px solid rgba(255,255,255,.82); box-shadow:0 8px 26px rgba(30,40,80,.06); }
.litem-pic { grid-area:pic; }
.litem-pic .gpic, .litem-pic .gpic.is-empty { aspect-ratio:1; height:auto; }
.litem-head { grid-area:head; min-width:0; padding-top:2px; }
.litem-body { grid-area:body; min-width:0; }
.litem-price { grid-area:price; padding-top:2px; text-align:right; }
.litem-price .gprice { display:block; margin:0; }
.litem-price .gprice small { display:block; margin:2px 0 0; }
.litem-cat { display:flex; align-items:center; gap:8px; margin:0; font-size:13px; font-weight:600; color:var(--muted); }
.litem-name { margin:4px 0 0; font-size:22px; line-height:1.25; font-weight:700; letter-spacing:-.02em; overflow-wrap:anywhere; }
.litem-qty { margin-left:8px; font-size:16px; font-weight:600; color:var(--muted); }
.litem .gsum { margin-top:10px; }
.litem .gsum div { grid-template-columns:72px minmax(0,1fr); }
.litem.is-skip { display:flex; align-items:center; gap:14px; padding:14px 20px; background:rgba(255,255,255,.55); font-size:15px; color:var(--muted); }
.litem.is-skip .litem-cat { min-width:56px; }
.lnote { margin:14px 4px 0; font-size:14px; color:var(--muted); }
.ltotal { margin-top:18px; }
.ltotal > .sheet-total { margin-top:0; padding-top:0; border-top:0; }
.ltotal .gsub { margin:22px 0 10px; }
.ltotal .lactions { margin-top:22px; }
.lcontact { display:flex; align-items:center; justify-content:center; gap:6px; flex-wrap:wrap; margin:18px 0 0; font-size:14px; color:var(--muted); text-align:center; }
.lcontact b { color:var(--ink); }

/* ---------- 窄屏 ---------- */
@media (max-width:900px) {
  .gs-t small { display:none; }
  .sheet-grid { grid-template-columns:1fr; }
}
@media (max-width:760px) {
  .gear-hero { padding:44px 0 26px; }
  .gear-kicker { font-size:15px; }
  .gear-hero h1 { font-size:38px; }
  .gear-sub { font-size:16px; margin-top:14px; }
  .gear-flow { gap:6px; margin-top:20px; }
  .gear-flow li { padding:5px 11px 5px 6px; font-size:13px; }
  .gsteps .wrap { width:100%; }
  .gsteps-list { gap:0; padding:4px 6px; overflow-x:auto; scrollbar-width:none; }
  .gsteps-list::-webkit-scrollbar { display:none; }
  .gsteps-list li { flex:1 0 auto; }
  .gsteps-list button { justify-content:center; gap:5px; padding:8px 5px; }
  .gs-n { width:22px; height:22px; font-size:12px; }
  .gs-t b { font-size:13px; }
  .gear-stage { padding-top:26px; }
  .gstep-head h2 { font-size:30px; }
  .gstep-head p { font-size:15px; }
  .ggrid { grid-template-columns:1fr; gap:12px; }
  .gpic { aspect-ratio:16 / 9; }
  .gpic.is-empty { height:84px; }
  .gtray { bottom:10px; width:calc(100% - 16px); }
  .gtray-in { padding:8px 8px 8px 14px; border-radius:18px; }
  .gtray-label { display:none; }
  .cmp-scroll { margin:0 -22px; }
  .cmp-table th, .cmp-table td { min-width:132px; padding:9px 10px; font-size:13px; }
  .cmp-table .cmp-k { min-width:92px; width:92px; }
  .cmp-table .cmp-k small { display:none; }
  .cmp-model { font-size:15px; }
  .gdetail-top { grid-template-columns:96px minmax(0,1fr); }
  .gneed { padding:16px; }
  .sheet-list li { grid-template-columns:48px minmax(0,1fr) auto; font-size:15px; }
  .sheet-total b { font-size:26px; }
  .gnavbar .btn { flex:1 1 auto; }
}
@media (max-width:760px) {
  .lwrap { padding-top:32px; padding-bottom:72px; }
  .lhead { margin-bottom:22px; }
  .lhead h1 { font-size:30px; }
  .lhead .gear-sub { font-size:15px; }
  .lactions { gap:12px 18px; margin-top:20px; }
  .litem { grid-template-columns:84px minmax(0,1fr); grid-template-areas:"pic head" "body body" "price price"; gap:10px 14px; padding:14px; }
  .litem-name { font-size:19px; }
  .litem .gsum { margin-top:2px; }
  .litem-price { display:flex; justify-content:flex-end; padding:8px 4px 0; border-top:1px solid rgba(0,0,0,.06); }
  .litem-price .gprice { display:flex; align-items:baseline; gap:8px; }
  .litem-price .gprice small { display:inline; margin:0; }
  .litem.is-skip { padding:12px 16px; font-size:14px; }
  .own-brands { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .own-models { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
  .own-none .btn { width:100%; }
}
@media (prefers-reduced-motion:reduce) {
  .gcard, .gsteps-bar { transition:none; }
  .gcard:hover { transform:none; }
  .gtray-in { animation:none; }
}
