/* ==========================================================================
   优享导航 · 全局样式表
   设计基调：清爽蓝 + 大量留白 + 卡片化 + 柔和阴影
   ========================================================================== */

:root {
  /* 主色 */
  --brand: #2E6BF0;
  --brand-600: #1F57D6;
  --brand-700: #1A46B0;
  --brand-50: #EEF4FF;
  --brand-100: #DCE7FF;
  --grad-brand: linear-gradient(135deg, #3B7BFF 0%, #2E6BF0 45%, #23B6E8 100%);
  --grad-soft: linear-gradient(135deg, #F2F7FF 0%, #F7FBFF 60%, #F3F9FF 100%);

  /* 分类主题色 */
  --c-mall: #2E6BF0;
  --c-rental: #FF7A45;
  --c-coupon: #7C5CFF;
  --c-tested: #12B76A;

  /* 中性色 */
  --text-1: #101828;
  --text-2: #475467;
  --text-3: #667085;
  --text-4: #98A2B3;
  --line: #EAECF0;
  --line-2: #F2F4F7;
  --bg: #F6F8FC;
  --surface: #FFFFFF;
  --surface-2: #FAFBFD;

  /* 功能色 */
  --success: #12B76A;
  --warn: #F79009;
  --danger: #F04438;

  /* 阴影 */
  --sh-xs: 0 1px 2px rgba(16, 24, 40, .05);
  --sh-sm: 0 1px 3px rgba(16, 24, 40, .06), 0 1px 2px -1px rgba(16, 24, 40, .06);
  --sh-md: 0 4px 8px -2px rgba(16, 24, 40, .07), 0 2px 4px -2px rgba(16, 24, 40, .04);
  --sh-lg: 0 12px 24px -6px rgba(16, 24, 40, .09), 0 4px 8px -4px rgba(16, 24, 40, .05);
  --sh-xl: 0 24px 48px -12px rgba(16, 24, 40, .16);
  --sh-brand: 0 8px 20px -6px rgba(46, 107, 240, .35);

  /* 圆角 */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 20px;
  --r-full: 999px;

  --maxw: 1240px;
  --nav-h: 68px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
               "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-1);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; font-size: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0; }

::selection { background: var(--brand-100); color: var(--brand-700); }

/* 滚动条 */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #D6DCE8; border-radius: 999px; border: 3px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: #BFC8D9; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ==========================================================================
   顶部导航
   ========================================================================== */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 24px;
  height: var(--nav-h); display: flex; align-items: center; gap: 28px;
}
.logo { display: flex; align-items: center; gap: 10px; flex: none; }
.logo-mark {
  width: 36px; height: 36px; border-radius: 11px;
  background: var(--grad-brand);
  display: grid; place-items: center;
  color: #fff; font-weight: 800; font-size: 17px;
  box-shadow: var(--sh-brand);
  letter-spacing: -.02em;
}
.logo-text { font-size: 18px; font-weight: 800; letter-spacing: -.02em; }
.logo-text span { color: var(--brand); }

.nav-menu { display: flex; align-items: center; gap: 4px; margin-left: 4px; }
.nav-link {
  padding: 8px 14px; border-radius: var(--r-full);
  font-size: 14.5px; font-weight: 500; color: var(--text-2);
  transition: all .18s ease; white-space: nowrap;
}
.nav-link:hover { color: var(--brand); background: var(--brand-50); }
.nav-link.active { color: var(--brand); background: var(--brand-50); font-weight: 600; }

.nav-search {
  margin-left: auto; position: relative; width: 240px;
}
.nav-search input {
  width: 100%; height: 40px; padding: 0 14px 0 38px;
  border: 1px solid var(--line); border-radius: var(--r-full);
  background: var(--surface-2); color: var(--text-1);
  outline: none; transition: all .2s; font-size: 14px;
}
.nav-search input::placeholder { color: var(--text-4); }
.nav-search input:focus {
  background: #fff; border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(46, 107, 240, .1);
}
.nav-search svg { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--text-4); }

/* 移动端头部搜索框（位于头部行内、汉堡菜单右侧；默认隐藏，≤720px 显示） */
.nav-m-search { display: none; }
.nav-m-search svg {
  position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  color: var(--text-4); pointer-events: none;
}
.nav-m-search input {
  flex: 1; min-width: 0; height: 38px;
  border: 1px solid var(--line); border-radius: var(--r-full);
  background: #fff; padding: 0 68px 0 38px;
  font-size: 13.5px; color: var(--text-1); outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.nav-m-search input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(46, 107, 240, .12); }
.nav-m-search .nav-m-go {
  position: absolute; right: 4px; top: 4px; height: 30px; padding: 0 12px;
  border: none; border-radius: var(--r-full); cursor: pointer;
  background: var(--grad-brand); color: #fff; font-size: 12.5px; font-weight: 600;
}

.nav-cta {
  display: inline-flex; align-items: center; gap: 6px;
  height: 40px; padding: 0 18px; border-radius: var(--r-full);
  background: var(--grad-brand); color: #fff;
  font-size: 14px; font-weight: 600; white-space: nowrap;
  box-shadow: var(--sh-brand); transition: all .2s;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 10px 24px -6px rgba(46, 107, 240, .45); }

.nav-toggle { display: none; width: 40px; height: 40px; border-radius: 10px; color: var(--text-2); }
.nav-toggle:hover { background: var(--bg); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative; overflow: hidden;
  background: var(--grad-soft);
  border-bottom: 1px solid var(--line);
}
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(70px); pointer-events: none;
}
.hero::before {
  width: 460px; height: 460px; top: -220px; right: -100px;
  background: radial-gradient(circle, rgba(46, 107, 240, .18), transparent 70%);
}
.hero::after {
  width: 380px; height: 380px; bottom: -220px; left: -80px;
  background: radial-gradient(circle, rgba(35, 182, 232, .16), transparent 70%);
}
.hero-inner { position: relative; padding: 76px 0 68px; text-align: center; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 14px; border-radius: var(--r-full);
  background: #fff; border: 1px solid var(--brand-100);
  color: var(--brand); font-size: 13px; font-weight: 600;
  box-shadow: var(--sh-xs); margin-bottom: 22px;
}
.hero-badge .dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--success);
  box-shadow: 0 0 0 3px rgba(18, 183, 106, .18);
}
.hero h1 {
  font-size: clamp(30px, 4.4vw, 46px); line-height: 1.2; letter-spacing: -.03em;
  margin-bottom: 16px;
}
.hero h1 .hl {
  background: var(--grad-brand); -webkit-background-clip: text;
  background-clip: text; -webkit-text-fill-color: transparent;
}
.hero p.lead {
  max-width: 620px; margin: 0 auto 30px;
  color: var(--text-3); font-size: 16px;
}
.hero-search {
  position: relative; max-width: 560px; margin: 0 auto 26px;
}
.hero-search input {
  width: 100%; height: 56px; padding: 0 130px 0 50px;
  border-radius: var(--r-full); border: 1px solid var(--line);
  background: #fff; box-shadow: var(--sh-lg); outline: none;
  font-size: 15px; transition: all .2s;
}
.hero-search input:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(46, 107, 240, .12), var(--sh-lg); }
.hero-search > svg { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); color: var(--text-4); }
.hero-search .btn-go {
  position: absolute; right: 6px; top: 6px; height: 44px; padding: 0 26px;
  border-radius: var(--r-full); background: var(--grad-brand); color: #fff;
  font-weight: 600; font-size: 14.5px; box-shadow: var(--sh-brand); transition: all .2s;
}
.hero-search .btn-go:hover { filter: brightness(1.05); }

/* 头部搜索框正下方的分类快捷导航横条 */
.top-cats {
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 10px rgba(16, 42, 100, .04);
  /* 吸顶：钉在吸顶头部正下方（--nav-h 由 JS 按头部实际高度写入） */
  position: sticky; top: var(--nav-h, 0px); z-index: 90;
}
.top-cats-inner {
  display: flex; align-items: center; justify-content: center;
  gap: 10px; flex-wrap: wrap;
  padding-top: 12px; padding-bottom: 12px;
}
.hcat {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px 8px 9px; border-radius: var(--r-full);
  background: rgba(255, 255, 255, .9); border: 1px solid var(--line);
  font-size: 14px; font-weight: 600; color: var(--text-2);
  box-shadow: var(--sh-xs); transition: all .2s;
}
.hcat-ic {
  width: 28px; height: 28px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
}
.hcat:hover {
  transform: translateY(-2px); color: var(--hc, #2E6BF0);
  border-color: var(--hc, #2E6BF0); box-shadow: var(--sh-md);
  background: #fff;
}

.hero-stats { display: flex; justify-content: center; gap: 44px; flex-wrap: wrap; }
.hero-stats .st { text-align: center; }
.hero-stats .st b { display: block; font-size: 24px; font-weight: 800; letter-spacing: -.02em; color: var(--text-1); }
.hero-stats .st span { font-size: 13px; color: var(--text-4); }

/* ==========================================================================
   区块
   ========================================================================== */
.section { padding: 56px 0; }
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 20px; margin-bottom: 26px; flex-wrap: wrap;
}
.section-head .tt h2 { font-size: 24px; letter-spacing: -.02em; display: flex; align-items: center; gap: 10px; }
.section-head .tt p { color: var(--text-3); font-size: 14.5px; margin-top: 6px; }
.section-head .bar {
  width: 4px; height: 22px; border-radius: 4px; background: var(--grad-brand); display: inline-block;
}
.link-more {
  display: inline-flex; align-items: center; gap: 5px;
  color: var(--brand); font-size: 14px; font-weight: 600;
  padding: 8px 14px; border-radius: var(--r-full); transition: all .18s;
}
.link-more:hover { background: var(--brand-50); gap: 9px; }

/* 通告条 */
.notice {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 16px; border-radius: var(--r-md);
  background: #FFFBEB; border: 1px solid #FDE68A;
  color: #92400E; font-size: 13.5px; margin-bottom: 26px;
}
.notice svg { flex: none; }

/* ==========================================================================
   分类大卡
   ========================================================================== */
.cat-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
}
.cat-card {
  position: relative; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 24px 22px 22px;
  box-shadow: var(--sh-sm); transition: all .26s cubic-bezier(.4, 0, .2, 1);
  display: block;
}
.cat-card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  border: 1.5px solid transparent; transition: border-color .26s;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); }
.cat-card:hover::after { border-color: currentColor; opacity: .35; }
.cat-icon {
  width: 46px; height: 46px; border-radius: 13px;
  display: grid; place-items: center; margin-bottom: 16px;
  color: #fff; box-shadow: var(--sh-md);
}
.cat-card h3 { font-size: 17px; margin-bottom: 7px; letter-spacing: -.01em; }
.cat-card p { font-size: 13.5px; color: var(--text-3); line-height: 1.6; min-height: 44px; }
.cat-foot {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line);
}
.cat-foot .cnt { font-size: 12.5px; color: var(--text-4); }
.cat-foot .go {
  font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; gap: 4px;
}
.cat-card:hover .cat-foot .go { gap: 8px; }
.cat-foot .go { transition: gap .2s; }

/* ==========================================================================
   产品卡片（商城 / 卡券 / 实测 / 租机通用）
   ========================================================================== */
.grid-products {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
}
.grid-products.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid-products.cols-5 { grid-template-columns: repeat(5, 1fr); }

.p-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--sh-sm); transition: all .26s cubic-bezier(.4, 0, .2, 1);
  display: flex; flex-direction: column;
}
.p-card:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); border-color: #DDE3EE; }

.p-thumb {
  position: relative; aspect-ratio: 4 / 3; overflow: hidden;
  background: var(--surface-2);
}
.p-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2, .7, .3, 1); }
.p-card:hover .p-thumb img { transform: scale(1.06); }
.p-thumb .ph {
  width: 100%; height: 100%; display: grid; place-items: center;
  font-size: 30px; font-weight: 800; color: #fff; letter-spacing: -.02em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .12);
}
/* 卡片平铺图标：无底色无边框，图标统一高度居中，名字在下方 */
.p-thumb.flat {
  aspect-ratio: auto; height: 84px;
  background: none; overflow: hidden;
  display: grid; place-items: center;
}
.p-thumb.flat img {
  width: auto; max-width: 88%; height: 64px; object-fit: contain;
}
.p-thumb.flat .ph {
  width: auto; height: auto;
  font-size: 40px; color: inherit; text-shadow: none;
}
.p-badge {
  position: absolute; left: 10px; top: 10px; z-index: 2;
  padding: 4px 10px; border-radius: var(--r-full);
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(6px);
  font-size: 11.5px; font-weight: 700; color: var(--text-1);
  box-shadow: var(--sh-xs); display: inline-flex; align-items: center; gap: 4px;
}
.p-badge.ok { color: var(--success); }
.p-badge.hot { color: #E8590C; }
.p-badge.pin { color: var(--brand); }

.p-body { padding: 14px 15px 15px; display: flex; flex-direction: column; flex: 1; }
.p-title {
  font-size: 15px; font-weight: 600; line-height: 1.45; letter-spacing: -.01em;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  min-height: 43px;
}
.p-intro {
  margin-top: 7px; font-size: 12.8px; color: var(--text-3); line-height: 1.6;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.p-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.tag {
  padding: 3px 9px; border-radius: var(--r-full);
  background: var(--bg); border: 1px solid var(--line);
  font-size: 11.5px; color: var(--text-3); white-space: nowrap;
}
.p-link {
  margin-top: 11px; padding: 7px 10px; border-radius: var(--r-sm);
  background: var(--surface-2); border: 1px dashed var(--line);
  font-size: 11.5px; color: var(--text-4);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  display: flex; align-items: center; gap: 6px;
}
.p-link svg { flex: none; }

/* 底部双按钮：左复制 / 右跳转 */
.p-actions {
  display: grid; grid-template-columns: 1fr 1fr; gap: 9px;
  margin-top: auto; padding-top: 13px;
}
.btn-copy, .btn-jump {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 38px; border-radius: var(--r-sm);
  font-size: 13.5px; font-weight: 600; transition: all .18s;
}
.btn-copy {
  background: #fff; border: 1px solid var(--line); color: var(--text-2);
}
.btn-copy:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-50); }
.btn-copy.copied { background: #ECFDF3; border-color: #A6F4C5; color: var(--success); }
.btn-jump {
  background: var(--grad-brand); color: #fff; box-shadow: 0 3px 10px -3px rgba(46, 107, 240, .5);
}
.btn-jump:hover { transform: translateY(-1px); box-shadow: 0 6px 16px -4px rgba(46, 107, 240, .55); }

/* 卡片内的二维码入口（无二维码时不渲染） */
.p-qr {
  display: flex; align-items: center; gap: 10px; width: 100%;
  margin-top: 9px; padding: 7px 10px 7px 7px;
  border: 1px dashed var(--line); border-radius: var(--r-md);
  background: #FAFBFD; cursor: pointer; transition: all .18s; text-align: left;
}
.p-qr img { width: 38px; height: 38px; border-radius: 7px; object-fit: contain; background: #fff; border: 1px solid var(--line-2); flex: none; }
.p-qr-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.p-qr-txt b { font-size: 12.5px; color: var(--text-1); font-weight: 700; }
.p-qr-txt i { font-style: normal; font-size: 11px; color: var(--text-4); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.p-qr > svg { color: var(--text-4); flex: none; }
.p-qr:hover { border-color: var(--brand); background: var(--brand-50); }
.p-qr:hover > svg { color: var(--brand); }

/* 详情弹窗内的二维码 */
.m-qr { display: flex; align-items: center; gap: 12px; margin-top: 14px; padding: 10px; border-radius: var(--r-md); background: var(--surface-2); }
.m-qr img { width: 72px; height: 72px; object-fit: contain; background: #fff; border-radius: 8px; border: 1px solid var(--line-2); padding: 4px; cursor: zoom-in; }
.m-qr b { display: block; font-size: 13.5px; }
.m-qr span { font-size: 12px; color: var(--text-3); line-height: 1.6; display: block; margin-top: 3px; }

/* 租机主题色变体 */
.theme-rental .btn-jump { background: linear-gradient(135deg, #FF8F5E, #FF6A2B); box-shadow: 0 3px 10px -3px rgba(255, 106, 43, .5); }
.theme-rental .btn-jump:hover { box-shadow: 0 6px 16px -4px rgba(255, 106, 43, .55); }
.theme-rental .p-badge { color: #E8590C; }
.theme-coupon .btn-jump { background: linear-gradient(135deg, #8E6BFF, #6A46F5); box-shadow: 0 3px 10px -3px rgba(124, 92, 255, .5); }
.theme-coupon .btn-jump:hover { box-shadow: 0 6px 16px -4px rgba(124, 92, 255, .55); }
.theme-coupon .p-badge { color: #6A46F5; }
.theme-tested .btn-jump { background: linear-gradient(135deg, #1FCE7E, #0EA15D); box-shadow: 0 3px 10px -3px rgba(18, 183, 106, .5); }
.theme-tested .btn-jump:hover { box-shadow: 0 6px 16px -4px rgba(18, 183, 106, .55); }
.theme-tested .p-badge { color: #0EA15D; }

/* ==========================================================================
   页面头部（内页）
   ========================================================================== */
.page-head {
  background: var(--surface); border-bottom: 1px solid var(--line);
  padding: 30px 0 26px;
}
.crumb { font-size: 13px; color: var(--text-4); margin-bottom: 14px; display: flex; align-items: center; gap: 7px; }
.crumb a:hover { color: var(--brand); }
.page-head-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.page-icon {
  width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center;
  color: #fff; box-shadow: var(--sh-md); flex: none;
}
.page-head h1 { font-size: 26px; letter-spacing: -.025em; }
.page-head .sub { color: var(--text-3); font-size: 14px; margin-top: 5px; }
.page-head .count {
  margin-left: auto; font-size: 13px; color: var(--text-3);
  background: var(--bg); padding: 7px 14px; border-radius: var(--r-full);
  border: 1px solid var(--line);
}
.page-head .count b { color: var(--brand); font-size: 15px; }

/* ==========================================================================
   工具栏 / 筛选
   ========================================================================== */
.toolbar {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 16px 18px; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--sh-sm); margin-bottom: 22px;
}
.tb-search { position: relative; flex: 1; min-width: 220px; }
.tb-search input {
  width: 100%; height: 42px; padding: 0 14px 0 40px;
  border: 1px solid var(--line); border-radius: var(--r-md);
  background: var(--surface-2); outline: none; transition: all .18s;
}
.tb-search input:focus { background: #fff; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(46, 107, 240, .1); }
.tb-search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--text-4); }
.tb-select {
  height: 42px; padding: 0 34px 0 14px; border-radius: var(--r-md);
  border: 1px solid var(--line); background: var(--surface-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23667085' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 13px center;
  outline: none; color: var(--text-2); appearance: none; cursor: pointer; transition: all .18s;
}
.tb-select:focus { border-color: var(--brand); background-color: #fff; }
.tb-reset {
  height: 42px; padding: 0 16px; border-radius: var(--r-md);
  border: 1px solid var(--line); background: #fff; color: var(--text-2);
  font-size: 13.5px; font-weight: 500; transition: all .18s;
}
.tb-reset:hover { border-color: var(--text-4); color: var(--text-1); }

/* 标签筛选区 */
.filter-panel {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--sh-sm);
  padding: 6px 18px 16px; margin-bottom: 22px;
}
.filter-row {
  display: flex; gap: 14px; padding: 12px 0;
  border-bottom: 1px dashed var(--line);
}
.filter-row:last-child { border-bottom: none; padding-bottom: 4px; }
.filter-label {
  flex: none; width: 76px; padding-top: 5px;
  font-size: 13px; color: var(--text-3); font-weight: 600;
}
.filter-options { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 6px 14px; border-radius: var(--r-full);
  border: 1px solid var(--line); background: var(--surface-2);
  font-size: 13px; color: var(--text-2); transition: all .16s;
}
.chip:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-50); }
.chip.on {
  background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 600;
  box-shadow: 0 3px 10px -3px rgba(46, 107, 240, .5);
}
.theme-rental .chip.on { background: #FF6A2B; border-color: #FF6A2B; box-shadow: 0 3px 10px -3px rgba(255, 106, 43, .5); }
.theme-rental .chip:hover { border-color: #FF6A2B; color: #FF6A2B; background: #FFF4EF; }
.theme-coupon .chip.on { background: #6A46F5; border-color: #6A46F5; }
.theme-coupon .chip:hover { border-color: #7C5CFF; color: #7C5CFF; background: #F5F2FF; }
.theme-tested .chip.on { background: #0EA15D; border-color: #0EA15D; }
.theme-tested .chip:hover { border-color: #12B76A; color: #0EA15D; background: #F0FDF6; }

.filter-result {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; flex-wrap: wrap; margin-bottom: 18px;
  font-size: 13.5px; color: var(--text-3);
}
.filter-result b { color: var(--brand); }
.active-tags { display: flex; gap: 7px; flex-wrap: wrap; align-items: center; }
.active-tags .at {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: var(--r-full);
  background: var(--brand-50); color: var(--brand); font-size: 12.5px; font-weight: 600;
}
.active-tags .at button { color: var(--brand); font-size: 15px; line-height: 1; opacity: .65; }
.active-tags .at button:hover { opacity: 1; }

/* ==========================================================================
   文章
   ========================================================================== */
.grid-articles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.a-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-sm);
  transition: all .26s cubic-bezier(.4, 0, .2, 1); display: flex; flex-direction: column;
}
.a-card:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); }
.a-cover { aspect-ratio: 16 / 9; overflow: hidden; background: var(--surface-2); position: relative; }
.a-cover img { width: 100%; height: 100%; object-fit: cover; }
.a-cover .ph {
  width: 100%; height: 100%; display: grid; place-items: center; color: #fff;
  font-size: 15px; font-weight: 700; letter-spacing: .04em;
}
.a-body { padding: 16px 17px 17px; display: flex; flex-direction: column; flex: 1; }
.a-body h3 {
  font-size: 16px; line-height: 1.5; letter-spacing: -.01em;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.a-card:hover .a-body h3 { color: var(--brand); }
.a-sum {
  margin-top: 9px; font-size: 13px; color: var(--text-3); line-height: 1.65;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.a-meta {
  margin-top: auto; padding-top: 14px; display: flex; align-items: center; gap: 12px;
  font-size: 12.5px; color: var(--text-4);
}
.a-meta .sp { margin-left: auto; }

/* 文章详情 */
.article-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 30px; align-items: start; }
.article-main {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--sh-sm); padding: 38px 44px 44px;
}
.article-main h1 { font-size: 28px; line-height: 1.4; letter-spacing: -.025em; margin-bottom: 16px; }
.article-meta {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  padding-bottom: 20px; border-bottom: 1px solid var(--line-2); margin-bottom: 26px;
  font-size: 13px; color: var(--text-4);
}
.article-meta .au { display: flex; align-items: center; gap: 7px; color: var(--text-2); font-weight: 600; }
.article-meta .av {
  width: 28px; height: 28px; border-radius: 50%; background: var(--grad-brand);
  color: #fff; display: grid; place-items: center; font-size: 12px; font-weight: 700;
}
.article-content { font-size: 15.5px; line-height: 1.85; color: var(--text-2); }
.article-content h2 {
  font-size: 19px; color: var(--text-1); margin: 32px 0 14px; padding-left: 13px;
  border-left: 4px solid var(--brand); line-height: 1.4;
}
.article-content h3 { font-size: 16.5px; color: var(--text-1); margin: 24px 0 10px; }
.article-content h1 { font-size: 22px; color: var(--text-1); margin: 30px 0 14px; line-height: 1.35; }
.article-content h4 { font-size: 15.5px; color: var(--text-1); margin: 22px 0 9px; }
.article-content sub, .article-content sup { font-size: 11px; line-height: 0; }
.article-content p { margin: 13px 0; }
.article-content ul, .article-content ol { margin: 13px 0; padding-left: 24px; }
.article-content li { margin: 7px 0; }
.article-content strong { color: var(--text-1); font-weight: 700; }
.article-content em { font-style: normal; color: var(--brand); font-weight: 600; background: var(--brand-50); padding: 1px 5px; border-radius: 4px; }
.article-content blockquote {
  margin: 18px 0; padding: 15px 20px; border-radius: var(--r-md);
  background: var(--brand-50); border-left: 4px solid var(--brand);
  color: var(--text-2); font-size: 14.5px;
}
.article-content blockquote p { margin: 0; }
.article-content img { max-width: 100%; height: auto; border-radius: var(--r-md); margin: 18px 0; box-shadow: var(--sh-md); }
/* 图片对齐：靠左/靠右文字环绕，居中独占一行（样式由编辑器内联写入） */
.article-content::after { content: ""; display: block; clear: both; }
.article-content a { color: var(--brand); border-bottom: 1px solid var(--brand-100); }

.article-side { position: sticky; top: calc(var(--nav-h) + 20px); display: flex; flex-direction: column; gap: 16px; }
.side-box {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--sh-sm); padding: 18px 20px;
}
.side-box h4 { font-size: 14.5px; margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.side-box h4 .bar { width: 3px; height: 15px; border-radius: 3px; background: var(--grad-brand); }
.side-list { display: flex; flex-direction: column; gap: 13px; }
.side-item { display: flex; gap: 11px; }
.side-item .idx {
  flex: none; width: 20px; height: 20px; border-radius: 6px; display: grid; place-items: center;
  font-size: 11px; font-weight: 700; background: var(--bg); color: var(--text-4);
}
.side-item:nth-child(1) .idx { background: var(--brand); color: #fff; }
.side-item:nth-child(2) .idx { background: var(--brand-100); color: var(--brand); }
.side-item:nth-child(3) .idx { background: var(--brand-100); color: var(--brand); }
.side-item .t {
  font-size: 13.5px; line-height: 1.55; color: var(--text-2);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.side-item:hover .t { color: var(--brand); }

/* ==========================================================================
   页脚
   ========================================================================== */
.footer { background: #0E1729; color: #98A6BF; margin-top: 60px; }
.footer-top {
  display: grid; grid-template-columns: 1.5fr 1fr 1.2fr; gap: 40px;
  padding: 54px 0 40px;
}
.footer h5 { color: #fff; font-size: 14.5px; margin-bottom: 16px; letter-spacing: .01em; }
.footer .f-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer .f-logo .logo-mark { box-shadow: none; }
.footer .f-logo b { color: #fff; font-size: 17px; font-weight: 800; }
.footer .f-desc { font-size: 13px; line-height: 1.8; color: #8291AC; }
.footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer ul a, .footer ul li { font-size: 13.5px; color: #98A6BF; transition: color .18s; }
.footer ul a:hover { color: #fff; }
.footer .f-contact li { display: flex; gap: 9px; align-items: flex-start; line-height: 1.6; }
.footer .f-contact svg { flex: none; margin-top: 3px; opacity: .7; }
.footer .f-contact b { color: #C7D0E0; font-weight: 600; }

.footer-notice { border-top: 1px solid rgba(255, 255, 255, .08); padding: 26px 0 8px; }
.footer-notice .box { margin-bottom: 18px; }
.footer-notice .box h6 {
  font-size: 13px; color: #C7D0E0; margin: 0 0 8px; font-weight: 700;
  display: flex; align-items: center; gap: 7px;
}
.footer-notice .box h6 .ic {
  width: 18px; height: 18px; border-radius: 5px; display: grid; place-items: center;
  font-size: 11px; font-weight: 800; color: #fff; flex: none;
}
.footer-notice .box p { font-size: 12.5px; line-height: 1.85; color: #7C8AA5; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding: 20px 0 26px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  font-size: 12.5px; color: #6E7C96;
}
.footer-bottom .sp { margin-left: auto; display: flex; gap: 18px; flex-wrap: wrap; }

/* ==========================================================================
   通用组件
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  height: 40px; padding: 0 20px; border-radius: var(--r-md);
  font-size: 14px; font-weight: 600; transition: all .18s;
}
.btn-primary { background: var(--grad-brand); color: #fff; box-shadow: var(--sh-brand); }
.btn-primary:hover { filter: brightness(1.06); transform: translateY(-1px); }
.btn-ghost { background: #fff; border: 1px solid var(--line); color: var(--text-2); }
.btn-ghost:hover { border-color: var(--text-4); color: var(--text-1); }

.empty {
  text-align: center; padding: 68px 20px; color: var(--text-4);
  background: var(--surface); border: 1px dashed var(--line); border-radius: var(--r-lg);
}
.empty svg { margin: 0 auto 16px; opacity: .45; }
.empty p { font-size: 14px; }
.empty .sub { font-size: 12.5px; margin-top: 6px; color: var(--text-4); }

.skeleton {
  background: linear-gradient(90deg, #EFF2F7 25%, #F7F9FC 50%, #EFF2F7 75%);
  background-size: 200% 100%; animation: sk 1.4s infinite; border-radius: var(--r-sm);
}
@keyframes sk { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* Toast */
.toast-wrap {
  position: fixed; left: 50%; bottom: 34px; transform: translateX(-50%);
  z-index: 9999; display: flex; flex-direction: column; gap: 10px; align-items: center;
  pointer-events: none;
}
.toast {
  display: flex; align-items: center; gap: 9px;
  padding: 11px 20px; border-radius: var(--r-full);
  background: rgba(16, 24, 40, .92); color: #fff;
  font-size: 13.5px; font-weight: 500; backdrop-filter: blur(10px);
  box-shadow: var(--sh-xl); animation: toastIn .3s cubic-bezier(.2, .9, .3, 1);
}
.toast.ok svg { color: #4ADE80; }
.toast.err svg { color: #FCA5A5; }
.toast.out { animation: toastOut .25s forwards; }
@keyframes toastIn { from { opacity: 0; transform: translateY(14px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes toastOut { to { opacity: 0; transform: translateY(8px); } }

/* 回到顶部 */
.to-top {
  position: fixed; right: 26px; bottom: 30px; z-index: 90;
  width: 44px; height: 44px; border-radius: 50%;
  background: #fff; border: 1px solid var(--line); color: var(--text-2);
  display: grid; place-items: center; box-shadow: var(--sh-lg);
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .25s;
}
.to-top.on { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { color: var(--brand); border-color: var(--brand); }

/* 联系方式悬浮窗 */
.contact-fab {
  position: fixed; right: 26px; bottom: 86px; z-index: 95;
  display: flex; flex-direction: column; align-items: flex-end; gap: 12px;
}
.contact-fab .cf-btn {
  position: relative; display: inline-flex; align-items: center; gap: 7px;
  height: 48px; padding: 0 18px 0 15px; border: none; border-radius: var(--r-full);
  background: var(--grad-brand); color: #fff; cursor: pointer;
  font-size: 14.5px; font-weight: 700; letter-spacing: .02em;
  box-shadow: var(--sh-brand); transition: all .22s;
}
.contact-fab .cf-btn::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  box-shadow: 0 0 0 0 rgba(46, 107, 240, .45);
  animation: cfPulse 2.2s ease-out infinite; pointer-events: none;
}
@keyframes cfPulse {
  0% { box-shadow: 0 0 0 0 rgba(46, 107, 240, .45); }
  70% { box-shadow: 0 0 0 12px rgba(46, 107, 240, 0); }
  100% { box-shadow: 0 0 0 0 rgba(46, 107, 240, 0); }
}
.contact-fab .cf-btn:hover { transform: translateY(-2px) scale(1.04); }
.contact-fab.on .cf-btn { background: linear-gradient(135deg, #FF8F5E, #FF6A2B); box-shadow: 0 8px 20px -6px rgba(255, 106, 43, .45); }
.contact-fab.on .cf-btn::before { animation: none; }
.cf-head {
  display: flex; align-items: center; gap: 7px;
  font-size: 15px; font-weight: 700; color: var(--text-1);
  padding: 0 4px 10px; border-bottom: 1px solid var(--line-2); margin-bottom: 8px;
}
.cf-head .cf-dot {
  width: 8px; height: 8px; border-radius: 50%; background: #12B76A; flex: none;
  box-shadow: 0 0 0 3px rgba(18, 183, 106, .18);
}
.cf-head .cf-sub { margin-left: auto; font-size: 11px; font-weight: 500; color: var(--text-4); }
.cf-panel {
  position: absolute; bottom: 62px; right: 0; width: 262px;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--sh-xl);
  padding: 14px 14px 12px;
  opacity: 0; visibility: hidden; transform: translateY(10px) scale(.97);
  transform-origin: bottom right; transition: all .22s cubic-bezier(.2, .9, .3, 1);
}
.contact-fab.on .cf-panel { opacity: 1; visibility: visible; transform: none; }
.cf-panel::after {
  content: ""; position: absolute; right: 19px; bottom: -6px;
  width: 12px; height: 12px; background: #fff;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  transform: rotate(45deg);
}
.cf-row {
  display: flex; align-items: center; gap: 10px; padding: 9px 4px;
  border-radius: var(--r-sm); transition: background .16s;
}
.cf-row:hover { background: var(--surface-2); }
.cf-ic { flex: none; display: grid; place-items: center; }
.cf-info { min-width: 0; flex: 1; line-height: 1.35; }
.cf-info b { display: block; font-size: 11.5px; color: var(--text-4); font-weight: 600; }
.cf-info span {
  font-size: 13.5px; font-weight: 600; color: var(--text-1);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block;
}
.cf-copy {
  flex: none; width: 28px; height: 28px; border-radius: 8px;
  display: grid; place-items: center; color: var(--text-4);
  transition: all .16s;
}
.cf-copy:hover { background: var(--brand-50); color: var(--brand); }

/* 客服浮窗 · 微信二维码 */
.cf-qr { margin-top: 4px; padding: 12px 4px 4px; border-top: 1px dashed var(--line); text-align: center; }
.cf-qr img {
  width: 118px; height: 118px; object-fit: contain; border-radius: var(--r-sm);
  border: 1px solid var(--line); background: #fff; padding: 4px;
}
.cf-qr span { display: block; margin-top: 6px; font-size: 11px; color: var(--text-4); }

/* 页脚 · 微信二维码 */
.footer .f-contact .f-qr { margin-top: 4px; align-items: center; }
.footer .f-contact .f-qr img {
  width: 132px; height: 132px; object-fit: contain; border-radius: 10px;
  background: #fff; padding: 5px; cursor: zoom-in;
  transition: transform .18s, box-shadow .18s;
}
.footer .f-contact .f-qr img:hover { transform: scale(1.03); box-shadow: 0 6px 18px -6px rgba(0,0,0,.45); }
.footer .f-contact .f-qr span { font-size: 12px; color: #A6B1C4; }
.footer .f-contact .f-qr span::after { content: '（点击放大）'; font-size: 10.5px; color: #6B7688; }

/* 提示条（示例数据） */
.demo-tip {
  display: flex; align-items: center; gap: 10px;
  background: #EFF6FF; border: 1px solid #BFDBFE; color: #1E40AF;
  padding: 12px 16px; border-radius: var(--r-md); font-size: 13.5px; margin-top: 20px;
}
.demo-tip b { font-weight: 700; }
.demo-tip button { margin-left: auto; color: #60A5FA; font-size: 18px; line-height: 1; }

/* ==========================================================================
   响应式
   ========================================================================== */
@media (max-width: 1100px) {
  .grid-products, .grid-products.cols-5 { grid-template-columns: repeat(3, 1fr); }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .article-wrap { grid-template-columns: 1fr; }
  .article-side { position: static; flex-direction: row; flex-wrap: wrap; }
  .side-box { flex: 1; min-width: 260px; }
}
@media (max-width: 900px) {
  .nav-menu { display: none; }
  .nav-toggle { display: grid; }
  .nav-search { width: auto; flex: 1; margin-left: auto; }
  .grid-articles { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .wrap { padding: 0 16px; }
  .nav-inner { padding: 0 16px; gap: 12px; }
  .nav-search { display: none; }
  .nav-cta { padding: 0 14px; }
  .nav-cta span { display: none; }
  .hero-inner { padding: 48px 0 44px; }
  .hero-stats { gap: 26px; }
  .grid-products, .grid-products.cols-3, .grid-products.cols-5 { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .grid-articles { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: 1fr; gap: 12px; }
  .section { padding: 38px 0; }
  .article-main { padding: 24px 20px 30px; }
  .article-main h1 { font-size: 22px; }
  .footer-top { grid-template-columns: 1fr; gap: 26px; padding: 40px 0 30px; }
  .filter-label { width: 100%; padding-top: 0; margin-bottom: 8px; }
  .filter-row { flex-direction: column; gap: 8px; }
  /* 移动端：搜索框进头部行内（汉堡右侧），Hero 大搜索隐藏（避免重复），分类条保持在其下 */
  .nav-inner { gap: 10px; }
  .nav-m-search {
    position: relative; display: flex; align-items: center;
    flex: 1; min-width: 0;
  }
  .hero-search { display: none; }
  .hero-badge { display: none; }
  .p-actions { gap: 7px; }
  .btn-copy, .btn-jump { font-size: 12.5px; padding: 0 6px; }
  .p-title { font-size: 14px; }
  /* 顶部分类条（移动端：缩小胶囊，自动换行，一屏内放下、不左右拖动） */
  .top-cats-inner {
    flex-wrap: wrap; justify-content: center;
    gap: 6px; padding-top: 9px; padding-bottom: 9px;
    overflow: visible;
  }
  .hcat { padding: 5px 10px 5px 6px; font-size: 12.5px; gap: 5px; }
  .hcat-ic { width: 20px; height: 20px; }
  .hcat-ic svg { width: 12px; height: 12px; }
  .hero-inner { padding: 40px 0 40px; }
}

/* ==========================================================================
   详情弹窗
   ========================================================================== */
.modal-mask {
  position: fixed; inset: 0; z-index: 300; padding: 24px;
  background: rgba(16, 24, 40, .5); backdrop-filter: blur(3px);
  display: grid; place-items: center;
  opacity: 0; visibility: hidden; transition: opacity .22s, visibility .22s;
}
.modal-mask.on { opacity: 1; visibility: visible; }
.modal-card {
  position: relative; width: min(760px, 100%);
  background: #fff; border-radius: var(--r-xl); overflow: hidden;
  box-shadow: var(--sh-xl); display: grid; grid-template-columns: 290px 1fr;
  animation: modalIn .3s cubic-bezier(.2, .9, .3, 1);
}
@keyframes modalIn { from { opacity: 0; transform: translateY(18px) scale(.97); } to { opacity: 1; transform: none; } }
.modal-close {
  position: absolute; right: 12px; top: 12px; z-index: 3;
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255, 255, 255, .92); color: var(--text-2);
  display: grid; place-items: center; box-shadow: var(--sh-sm); transition: all .18s;
}
.modal-close:hover { background: #fff; color: var(--text-1); }
.m-thumb { position: relative; background: var(--surface-2); min-height: 260px; }
.m-thumb img { width: 100%; height: 100%; object-fit: cover; }
.m-thumb .ph { width: 100%; height: 100%; display: grid; place-items: center; font-size: 46px; font-weight: 800; color: #fff; }
.m-body { padding: 30px 32px 28px; display: flex; flex-direction: column; }
.m-cat {
  align-self: flex-start; padding: 3px 11px; border-radius: var(--r-full);
  font-size: 12px; font-weight: 700; margin-bottom: 12px;
}
.m-body h3 { font-size: 19px; line-height: 1.4; letter-spacing: -.02em; margin-bottom: 12px; }
.m-intro { font-size: 14px; color: var(--text-2); line-height: 1.8; margin-bottom: 12px; }

@media (max-width: 700px) {
  .modal-mask { padding: 14px; }
  .modal-card { grid-template-columns: 1fr; max-height: 90vh; overflow-y: auto; }
  .m-thumb { min-height: 170px; aspect-ratio: 16 / 9; }
  .m-body { padding: 20px 20px 22px; }
}

/* 移动端抽屉菜单 */
.drawer-mask {
  position: fixed; inset: 0; background: rgba(16, 24, 40, .45); z-index: 200;
  opacity: 0; visibility: hidden; transition: all .25s; backdrop-filter: blur(2px);
}
.drawer-mask.on { opacity: 1; visibility: visible; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: 260px; z-index: 201;
  background: #fff; transform: translateX(100%); transition: transform .28s cubic-bezier(.3, .8, .3, 1);
  padding: 22px 18px; display: flex; flex-direction: column; gap: 4px; overflow-y: auto;
}
.drawer.on { transform: none; }
.drawer .d-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.drawer .d-head b { font-size: 16px; }
.drawer a {
  padding: 12px 14px; border-radius: var(--r-md); font-size: 15px;
  color: var(--text-2); font-weight: 500;
}
.drawer a:hover, .drawer a.active { background: var(--brand-50); color: var(--brand); font-weight: 600; }

/* 二维码放大弹窗 */
.qr-card {
  position: relative; width: min(320px, 100%); background: #fff;
  border-radius: var(--r-xl); padding: 26px 24px 22px; text-align: center;
  box-shadow: var(--sh-xl); animation: modalIn .3s cubic-bezier(.2, .9, .3, 1);
}
.qr-img { width: 100%; aspect-ratio: 1 / 1; border-radius: 14px; border: 1px solid var(--line); background: #fff; padding: 10px; }
.qr-img img { width: 100%; height: 100%; object-fit: contain; }
.qr-card b { display: block; margin-top: 16px; font-size: 15px; color: var(--text-1); }
.qr-card p { font-size: 12.5px; color: var(--text-3); margin-top: 6px; }
.qr-close {
  position: absolute; right: 10px; top: 10px; width: 30px; height: 30px;
  border-radius: 50%; display: grid; place-items: center;
  color: var(--text-3); background: var(--surface-2);
}
.qr-close:hover { background: var(--line-2); color: var(--text-1); }
