/* ============================================================
   武汉钰行科技有限公司 官网样式
   主色：科技蓝 + 物联网青绿
   ============================================================ */
:root {
  --blue-900: #0a3d6b;
  --blue-700: #0b5fa5;
  --blue-600: #1173c4;
  --blue-50: #eaf3fb;
  --teal-600: #0f8a6d;
  --teal-50: #e6f6f1;
  --text-900: #17233b;
  --text-600: #4a5872;
  --text-400: #8492ab;
  --bg-page: #f5f8fc;
  --bg-card: #ffffff;
  --border: #e2e9f2;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(13, 60, 110, 0.08);
  --font: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text-900);
  background: var(--bg-page);
  line-height: 1.7;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ---------- 顶部导航 ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  color: var(--blue-900);
}
.logo-mark {
  width: 36px; height: 36px;
  border-radius: 9px;
  display: block;
}
.logo small { display: block; font-size: 11px; font-weight: 400; color: var(--text-400); line-height: 1.2; }
.nav-links { display: flex; gap: 28px; font-size: 15px; }
.nav-links a { color: var(--text-600); transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--blue-600); font-weight: 600; }
.nav-cta {
  background: var(--blue-600);
  color: #fff !important;
  padding: 8px 18px;
  border-radius: 8px;
  font-weight: 600;
}
.nav-cta:hover { background: var(--blue-700); }

/* 汉堡菜单（移动端） */
.nav-toggle { display: none; }
.nav-toggle-label { display: none; cursor: pointer; }
.nav-toggle-label span, .nav-toggle-label span::before, .nav-toggle-label span::after {
  display: block; width: 22px; height: 2px; background: var(--blue-900); position: relative; transition: .3s;
}
.nav-toggle-label span::before, .nav-toggle-label span::after { content: ""; position: absolute; }
.nav-toggle-label span::before { top: -7px; }
.nav-toggle-label span::after { top: 7px; }

/* ---------- Hero 首屏 ---------- */
.hero {
  background: linear-gradient(135deg, #07294d 0%, var(--blue-700) 55%, var(--teal-600) 130%);
  color: #fff;
  padding: 96px 0 110px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  width: 480px; height: 480px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  top: -160px; right: -120px;
}
.hero .container { position: relative; z-index: 1; }
.hero-tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 13px;
  margin-bottom: 20px;
  letter-spacing: 1px;
}
.hero h1 {
  font-size: 42px;
  line-height: 1.35;
  font-weight: 700;
  max-width: 720px;
}
.hero h1 em { font-style: normal; color: #7fe3c3; }
.hero p {
  margin: 18px 0 34px;
  max-width: 620px;
  font-size: 17px;
  color: rgba(255, 255, 255, 0.85);
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.btn {
  display: inline-block;
  padding: 13px 30px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  transition: transform .15s, box-shadow .15s, background .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: #fff; color: var(--blue-700); }
.btn-ghost { border: 1px solid rgba(255, 255, 255, 0.55); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); }

/* hero 数据条 */
.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 56px;
  flex-wrap: wrap;
}
.hero-stats .num { font-size: 30px; font-weight: 700; }
.hero-stats .num span { font-size: 15px; font-weight: 400; margin-left: 2px; }
.hero-stats .label { font-size: 13px; color: rgba(255, 255, 255, 0.7); }

/* ---------- 通用 Section ---------- */
section.block { padding: 84px 0; }
section.block.alt { background: #fff; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 52px; }
.section-head .kicker {
  color: var(--teal-600);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 3px;
}
.section-head h2 { font-size: 30px; margin: 8px 0 12px; color: var(--text-900); }
.section-head p { color: var(--text-600); font-size: 15px; }

/* ---------- 优势卡片 ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform .2s, box-shadow .2s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.feature-icon.blue { background: var(--blue-50); color: var(--blue-600); }
.feature-icon.teal { background: var(--teal-50); color: var(--teal-600); }
.feature-card h3 { font-size: 17px; margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: var(--text-600); }

/* ---------- 产品卡片 ---------- */
.product-card {
  cursor: pointer;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product-cover {
  height: 130px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
}
/* 有产品图时：白底 + 完整显示（产品图多为透明底渲染图） */
.product-cover.has-img {
  height: 180px;
  background: linear-gradient(180deg, #f7fafd 0%, #eaf1f9 100%);
  padding: 10px 16px;
  border-bottom: 1px solid var(--border, #e8eef5);
}
.product-cover.has-img img {
  width: 100%; height: 100%;
  object-fit: contain;
  transition: transform .35s ease;
}
.product-card:hover .product-cover.has-img img { transform: scale(1.06); }
.product-cover svg { width: 52px; height: 52px; opacity: .92; }
.product-body { padding: 20px 22px 22px; flex: 1; display: flex; flex-direction: column; }
.product-body .cat {
  font-size: 12px; color: var(--teal-600); font-weight: 600; letter-spacing: 1px; margin-bottom: 6px;
}
.product-body h3 { font-size: 16.5px; margin-bottom: 8px; }
.product-body p { font-size: 13.5px; color: var(--text-600); flex: 1; }
.product-body .tags { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.product-body .tags span {
  font-size: 12px;
  background: var(--blue-50);
  color: var(--blue-700);
  padding: 3px 10px;
  border-radius: 999px;
}
.center { text-align: center; margin-top: 44px; }
.btn-outline {
  border: 1.5px solid var(--blue-600);
  color: var(--blue-600);
}
.btn-outline:hover { background: var(--blue-600); color: #fff; }

/* ---------- 解决方案详情（solutions.html） ---------- */
.solution-detail {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 40px 44px;
  margin-bottom: 32px;
}
.solution-detail h2 { font-size: 24px; margin-bottom: 12px; }
.solution-detail .solution-info > p { color: var(--text-600); font-size: 15px; margin-bottom: 18px; }
.solution-info ul { margin-bottom: 26px; }
.solution-info ul li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 12px;
  font-size: 14.5px;
  color: var(--text-900);
}
.solution-info ul li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 0;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--teal-50);
  color: var(--teal-600);
  font-size: 11px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
}
.sol-badge {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 600;
  color: #fff;
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
  letter-spacing: 2px;
}
.sol-building-bg { background: #0f7f95; }
.sol-warehouse-bg { background: #7a5cc4; }
.sol-water-bg { background: #1173c4; }
.sol-agri-bg { background: #0f8a6d; }
.sol-factory-bg { background: #5a67d8; }
.sol-fire-bg { background: #d8622a; }
.solution-visual {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255, 255, 255, 0.92);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 6px;
}
.solution-visual img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.solution-visual .sv-label { position: relative; z-index: 2; text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45); }
.solution-visual.has-img::after {
  content: "";
  position: absolute; inset: 0;
  background: rgba(12, 26, 46, 0.32);
}
@media (max-width: 900px) {
  .solution-detail { grid-template-columns: 1fr; padding: 28px 24px; }
  .solution-visual { min-height: 140px; font-size: 20px; }
}

/* ---------- 产品筛选 ---------- */
.filter-bar { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-bottom: 44px; }
.filter-btn {
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text-600);
  padding: 8px 20px;
  border-radius: 999px;
  font-size: 14px;
  cursor: pointer;
  font-family: var(--font);
  transition: all .2s;
}
.filter-btn:hover { border-color: var(--blue-600); color: var(--blue-600); }
.filter-btn.active { background: var(--blue-600); border-color: var(--blue-600); color: #fff; }

/* 子分类筛选条 */
.subfilter-bar {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: -30px 0 40px;
}
.subfilter-btn {
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text-600);
  padding: 6px 18px;
  border-radius: 999px;
  font-size: 13px;
  cursor: pointer;
  font-family: var(--font);
  transition: all .2s;
}
.subfilter-btn:hover { border-color: var(--teal-600); color: var(--teal-600); }
.subfilter-btn.active { background: var(--teal-600); border-color: var(--teal-600); color: #fff; }

/* ---------- 产品详情弹窗 ---------- */
.pd-mask {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(12, 26, 46, 0.55);
  z-index: 200;
  overflow-y: auto;
  padding: 40px 16px;
}
.pd-mask.open { display: flex; justify-content: center; align-items: flex-start; }
.pd-modal {
  background: #fff;
  border-radius: 16px;
  max-width: 680px;
  width: 100%;
  overflow: hidden;
  position: relative;
}
.pd-cover { height: 300px; position: relative; background: linear-gradient(180deg, #f7fafd 0%, #eaf1f9 100%); }
.pd-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 20px; }
.pd-cover-ph {
  height: 100%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
}
.pd-cover-ph svg { width: 72px; height: 72px; opacity: .92; }
.pd-close {
  position: absolute;
  top: 14px; right: 16px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  border: none;
  font-size: 16px;
  cursor: pointer;
  z-index: 2;
  color: var(--text-900);
}
.pd-body { padding: 24px 28px 30px; }
.pd-title { font-size: 22px; margin: 4px 0 10px; }
.pd-desc { font-size: 14.5px; color: var(--text-600); }
.pd-sec-title { font-size: 15px; margin: 22px 0 10px; color: var(--text-900); }
.pd-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.pd-tags span {
  font-size: 12px;
  background: var(--blue-50);
  color: var(--blue-700);
  padding: 3px 10px;
  border-radius: 999px;
}
.pd-params { width: 100%; border-collapse: collapse; font-size: 13.5px; margin-top: 4px; }
.pd-params td { border: 1px solid var(--border); padding: 9px 12px; color: var(--text-600); }
.pd-params td:first-child {
  background: var(--blue-50);
  color: var(--blue-900);
  width: 36%;
  font-weight: 600;
}

/* ---------- 解决方案 ---------- */
.solution-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.solution-card {
  position: relative;
  border-radius: var(--radius);
  padding: 32px 30px;
  color: #fff;
  overflow: hidden;
  min-height: 190px;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.solution-card::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0) 30%, rgba(0,0,0,.35));
}
.solution-card h3, .solution-card p { position: relative; z-index: 1; }
.solution-card h3 { font-size: 19px; margin-bottom: 6px; }
.solution-card p { font-size: 13.5px; color: rgba(255,255,255,.85); }
.sol-building { background: linear-gradient(135deg, #0f7f95, #08516b); }
.sol-warehouse { background: linear-gradient(135deg, #7a5cc4, #45307d); }
.sol-water { background: linear-gradient(135deg, #1173c4, #0a3d6b); }
.sol-agri { background: linear-gradient(135deg, #0f8a6d, #06513f); }
.sol-factory { background: linear-gradient(135deg, #5a67d8, #2b3491); }
.sol-fire { background: linear-gradient(135deg, #d8622a, #8a3210); }

/* ---------- 关于我们 ---------- */
.about-wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.about-wrap h2 { font-size: 28px; margin-bottom: 16px; }
.about-wrap .lead { color: var(--text-600); margin-bottom: 22px; }
.about-points li {
  display: flex; gap: 12px; margin-bottom: 14px; font-size: 14.5px; color: var(--text-900);
}
.about-points .dot {
  flex: none;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--teal-50); color: var(--teal-600);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; margin-top: 3px;
}
.about-panel {
  background: linear-gradient(135deg, var(--blue-700), var(--blue-900));
  color: #fff;
  border-radius: 18px;
  padding: 40px 36px;
}
.about-panel h3 { font-size: 20px; margin-bottom: 20px; }
.about-panel li {
  display: flex; justify-content: space-between;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255,255,255,.14);
  font-size: 14px;
}
.about-panel li:last-child { border-bottom: none; }
.about-panel li b { font-weight: 600; }

/* ---------- 联系我们 ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.contact-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  text-align: center;
}
.contact-card .feature-icon { margin: 0 auto 16px; }
.contact-card h3 { font-size: 16px; margin-bottom: 6px; }
.contact-card p { font-size: 14px; color: var(--text-600); }
.contact-card p.placeholder { color: #c07a1e; background: #fdf6e8; display: inline-block; padding: 2px 10px; border-radius: 6px; }

/* ---------- 页脚 ---------- */
footer { background: #0c1a2e; color: #9fb0c8; padding: 56px 0 28px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-grid h4 { color: #fff; font-size: 15px; margin-bottom: 16px; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12.5px;
}
.footer-bottom .placeholder { color: #c8a15a; }

/* ---------- 页面顶部小横幅（内页） ---------- */
.page-banner {
  background: linear-gradient(135deg, #07294d, var(--blue-700));
  color: #fff;
  padding: 92px 0;
  text-align: center;
}
.page-banner.has-bg h1, .page-banner.has-bg p { text-shadow: 0 2px 14px rgba(0, 0, 0, .55); }
.page-banner h1 { font-size: 30px; }
.page-banner p { color: rgba(255,255,255,.8); margin-top: 8px; font-size: 15px; }

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  .grid-3, .grid-4, .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .about-wrap, .solution-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: 32px; }
}
@media (max-width: 640px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 64px; left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    gap: 0;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }
  .nav-links a { padding: 15px 24px; border-top: 1px solid var(--border); }
  .nav-toggle:checked ~ .nav-links { display: flex; }
  .nav-toggle-label { display: block; }
  .grid-3, .grid-4, .contact-grid { grid-template-columns: 1fr; }
  .hero { padding: 64px 0 76px; }
  .hero-stats { gap: 28px; }
  section.block { padding: 60px 0; }
}

/* ============================================================
   在线咨询浮窗（企业微信客服）
   ============================================================ */
.cw { position: fixed; right: 22px; bottom: 26px; z-index: 180; font-family: var(--font); }
.cw-mask { display: none; }

/* 悬浮按钮 */
.cw-fab {
  position: relative;
  display: flex; align-items: center; gap: 8px;
  height: 54px; padding: 0 20px 0 16px;
  border: 0; border-radius: 27px; cursor: pointer;
  background: linear-gradient(135deg, var(--blue-600), #14a0a6);
  color: #fff; font-family: inherit; font-size: 15px; font-weight: 600;
  box-shadow: 0 10px 26px rgba(13, 90, 160, .34), 0 2px 6px rgba(13, 90, 160, .2);
  transition: transform .22s ease, box-shadow .22s ease, padding .26s ease;
}
.cw-fab:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(13, 90, 160, .42); }
.cw-fab-ic { display: flex; width: 23px; height: 23px; }
.cw-fab-ic svg { width: 100%; height: 100%; }
.cw-fab-txt {
  white-space: nowrap; overflow: hidden; max-width: 80px;
  transition: max-width .26s ease, opacity .2s ease;
}
.cw.open .cw-fab-txt { max-width: 0; opacity: 0; }
.cw.open .cw-fab { padding: 0 16px; }
.cw-dot {
  position: absolute; top: 9px; right: 11px; width: 8px; height: 8px; border-radius: 50%;
  background: #ff5a3c; box-shadow: 0 0 0 3px rgba(255, 90, 60, .22);
  animation: cwPulse 1.9s ease-in-out infinite;
}
.cw.open .cw-dot { opacity: 0; }
@keyframes cwPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(.8); opacity: .6; }
}

/* 咨询卡片 */
.cw-card {
  position: absolute; right: 0; bottom: 70px;
  width: 348px; max-width: calc(100vw - 32px);
  background: #fff; border-radius: 18px; overflow: hidden;
  box-shadow: 0 26px 60px rgba(10, 45, 85, .22), 0 2px 10px rgba(10, 45, 85, .08);
  opacity: 0; transform: translateY(14px) scale(.96); transform-origin: bottom right;
  pointer-events: none;
  transition: opacity .24s ease, transform .28s cubic-bezier(.22, .9, .3, 1);
}
.cw.open .cw-card { opacity: 1; transform: none; pointer-events: auto; }

.cw-hd {
  position: relative; display: flex; align-items: center; gap: 12px;
  padding: 16px 16px 15px;
  background: linear-gradient(135deg, var(--blue-700), var(--blue-600) 55%, #14a0a6);
  color: #fff;
}
.cw-logo {
  width: 42px; height: 42px; flex: 0 0 auto; border-radius: 12px; background: #fff;
  color: var(--blue-600); display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, .12);
}
.cw-logo svg { width: 26px; height: 26px; }
.cw-hd-txt { display: flex; flex-direction: column; line-height: 1.45; }
.cw-hd-txt b { font-size: 15.5px; font-weight: 600; letter-spacing: .2px; }
.cw-hd-txt span { font-size: 12.5px; color: rgba(255, 255, 255, .8); }
.cw-close {
  position: absolute; top: 11px; right: 11px; width: 26px; height: 26px;
  border: 0; border-radius: 50%; background: rgba(255, 255, 255, .16); color: #fff;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background .2s ease;
}
.cw-close:hover { background: rgba(255, 255, 255, .3); }
.cw-close svg { width: 14px; height: 14px; }

.cw-bd { padding: 16px; }
.cw-welcome { font-size: 13.5px; line-height: 1.75; color: var(--text-600); margin-bottom: 14px; }

.cw-btn-main {
  display: block; width: 100%; padding: 12px 14px; text-align: center;
  border: 0; border-radius: 11px; cursor: pointer;
  background: linear-gradient(135deg, #0f8a6d, #14a0a6); color: #fff;
  font-family: inherit; font-size: 14.5px; font-weight: 600;
  box-shadow: 0 8px 18px rgba(15, 138, 109, .24);
  transition: transform .2s ease, filter .2s ease;
}
.cw-btn-main:hover { filter: brightness(1.07); transform: translateY(-1px); }
.cw-btn-main:disabled { opacity: .6; cursor: default; transform: none; }

.cw-qr {
  margin-top: 14px; padding: 14px 14px 11px; text-align: center;
  border: 1px dashed var(--border); border-radius: 12px; background: #fbfdff;
}
.cw-qr img {
  width: 150px; height: 150px; margin: 0 auto 8px;
  object-fit: contain; border-radius: 8px; background: #fff;
}
.cw-qr span { display: block; font-size: 12.5px; color: var(--text-400); }

.cw-rows {
  margin-top: 14px; padding-top: 10px; border-top: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 1px;
}
.cw-row {
  display: flex; align-items: center; gap: 9px; width: 100%; padding: 8px;
  border: 0; border-radius: 9px; background: transparent; color: var(--text-600);
  font-family: inherit; font-size: 13.5px; text-align: left; cursor: pointer;
  transition: background .18s ease, color .18s ease;
}
.cw-row:hover { background: var(--blue-50); color: var(--blue-700); }
.cw-row svg { width: 16px; height: 16px; flex: 0 0 auto; opacity: .8; }
.cw-row span { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cw-row em { font-style: normal; font-size: 12px; color: var(--text-400); flex: 0 0 auto; }
.cw-row:hover em { color: var(--blue-600); }

.cw-ft {
  padding: 10px 16px 13px; text-align: center;
  font-size: 12px; color: var(--text-400);
  background: #fafcff; border-top: 1px solid var(--border);
}

/* 移动端：改为底部抽屉 */
@media (max-width: 640px) {
  .cw { right: 14px; bottom: 14px; }
  .cw-fab { height: 50px; padding: 0 17px 0 14px; font-size: 14.5px; }
  .cw-fab-txt { max-width: 66px; }
  .cw.open .cw-fab { opacity: 0; pointer-events: none; }
  .cw-mask {
    display: block; position: fixed; inset: 0;
    background: rgba(10, 25, 45, .42);
    opacity: 0; pointer-events: none; transition: opacity .25s ease;
  }
  .cw.open .cw-mask { opacity: 1; pointer-events: auto; }
  .cw-card {
    position: fixed; left: 0; right: 0; bottom: 0;
    width: 100%; max-width: none; max-height: 86vh; overflow-y: auto;
    border-radius: 18px 18px 0 0;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    transform: translateY(100%);
  }
  .cw.open .cw-card { transform: none; }
  .cw-qr img { width: 132px; height: 132px; }
}
