/* ==========================================================================
   药子子 · 控销洞察（/help）
   独立样式表：不依赖 Tailwind，也不依赖后台样式。

   视觉口径（两处对齐）：
   1) 顶部导航 —— 与官网首页 index.php 的 <nav> 完全一致：
      fixed / 透明→滚动变白模糊 / max-w-7xl(1280) / h-16 / logo h-10 /
      链接 px-4 py-2 text-sm 灰→hover 蓝底蓝字 / ≤1023px 汉堡+全屏菜单。
   2) 主体 —— 与后台「资讯中心」门户页（backend/views/article/portal.php）一致：
      1280 居中 + 左 200px 分类白卡 + 右侧内容白卡（标题左侧 3px 竖条、
      列表行 = 圆点 + 标题 + 右侧更新时间、底部翻页器）。
   ========================================================================== */

:root {
  --brand: #4f46e5;
  --brand-dark: #4338ca;
  --brand-soft: #eef2ff;
  --brand-rgb: 79, 70, 229;

  --ink: #111827;
  --text: #1f2937;
  --text-2: #374151;
  --muted: #64748b;
  --faint: #94a3b8;

  --line: #eef1f6;
  --bg: #f5f7fb;
  --white: #fff;

  --header-h: 64px;
  --radius: 8px;
  --shadow-card: 0 1px 3px rgba(0, 0, 0, .04);

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
          "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

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

body.gw-body {
  margin: 0;
  padding-top: var(--header-h);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; border: 0; }
ul, ol { margin: 0; padding: 0; }

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   1. 顶部导航（与 index.php 一致）
   ========================================================================== */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: transparent;
  transition: all .3s ease;
}
.site-nav.nav-scrolled {
  background: rgba(255, 255, 255, .85);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 20px rgba(0, 0, 0, .05);
}
.nav-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}
.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.nav-logo img { height: 40px; width: auto; display: block; }

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1 1 auto;
  min-width: 0;
  margin-left: 8px;
  gap: 4px;
}
.nav-links a {
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  color: #374151;
  white-space: nowrap;
  transition: all .3s ease;
}
.nav-links a:hover { background: #eff6ff; color: #2563eb; }
.nav-links a:active { transform: scale(.95); }
.nav-links a.is-current { color: #2563eb; }

/* 移动端汉堡 */
.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
}
.hamburger-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: #4f46e5;
  border-radius: 2px;
  transition: all .3s ease;
  position: relative;
}
.hamburger-btn span::before,
.hamburger-btn span::after {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: #4f46e5;
  border-radius: 2px;
  position: absolute;
  left: 0;
  transition: all .3s ease;
}
.hamburger-btn span::before { top: -7px; }
.hamburger-btn span::after { top: 7px; }
.hamburger-btn.active span { background: transparent; }
.hamburger-btn.active span::before { top: 0; transform: rotate(45deg); }
.hamburger-btn.active span::after { top: 0; transform: rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0; bottom: 0;
  background: rgba(255, 255, 255, .98);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  z-index: 49;
  flex-direction: column;
  padding: 20px 24px;
  overflow-y: auto;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  display: block;
  padding: 14px 16px;
  font-size: 1.05rem;
  font-weight: 500;
  color: #1e293b;
  border-radius: 10px;
  transition: all .2s;
}
.mobile-menu a:active,
.mobile-menu a:focus { background: #eef2ff; color: #4f46e5; }

/* ==========================================================================
   2. 资讯列表（门户页口径）
   ========================================================================== */
.np-main {
  display: flex;
  flex: 1 0 auto;
  gap: 16px;
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 16px 24px 48px;
  align-items: flex-start;
}
.np-main > * { min-width: 0; }

/* 左侧分类 */
.np-side {
  width: 200px;
  flex-shrink: 0;
  background: #fff;
  border-radius: var(--radius);
  padding: 6px 0;
  box-shadow: var(--shadow-card);
  position: sticky;
  top: calc(var(--header-h) + 16px);
}
.np-side-head {
  padding: 10px 16px 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--faint);
}
.np-cat-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 16px;
  font-size: 14px;
  color: var(--text);
  border-left: 3px solid transparent;
  transition: background .15s, color .15s;
  line-height: 1.4;
}
.np-cat-item:hover { background: rgba(var(--brand-rgb), .04); }
.np-cat-item.active {
  color: var(--brand);
  font-weight: 600;
  border-left-color: var(--brand);
  background: rgba(var(--brand-rgb), .04);
}
.np-cat-name {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.np-cat-count {
  flex: 0 0 auto;
  font-size: 12px;
  color: var(--faint);
  font-weight: 400;
}
.np-cat-item.active .np-cat-count { color: var(--brand); }
.np-side-cta {
  margin: 8px 12px 10px;
  padding: 12px;
  font-size: 12.5px;
  line-height: 1.6;
  color: #4b5563;
  background: #f7f8fd;
  border-radius: 6px;
}
.np-side-cta p { margin: 0 0 8px; }
.np-side-cta a { color: var(--brand); font-weight: 600; }
.np-side-cta a:hover { text-decoration: underline; }

/* 右侧内容 */
.np-content {
  flex: 1 1 auto;
  min-width: 0;
  background: #fff;
  border-radius: var(--radius);
  padding: 20px 24px 24px;
  box-shadow: var(--shadow-card);
}
.np-content-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.np-content-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  padding-left: 12px;
  border-left: 3px solid var(--brand);
  line-height: 1.2;
  min-height: 19px;
}
.np-content-title .count { font-size: 12.5px; font-weight: 400; color: var(--faint); }

/* 搜索框（门户页的搜索在页头；这里页头要和首页一致，所以挪到内容卡右上） */
.np-search {
  position: relative;
  display: flex;
  align-items: center;
}
.np-search svg {
  position: absolute;
  left: 10px;
  color: #9aa4b8;
  pointer-events: none;
}
.np-search input {
  width: 252px;
  height: 34px;
  padding: 0 40px 0 30px;
  font-family: inherit;
  font-size: 13px;
  color: var(--text);
  background: #fafbfe;
  border: 1px solid #e6eaf2;
  border-radius: 6px;
  outline: none;
  transition: all .18s;
}
.np-search input::placeholder { color: #a9b2c4; }
.np-search input:focus {
  background: #fff;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(var(--brand-rgb), .1);
}
.np-search button {
  position: absolute;
  right: 3px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: #fff;
  background: var(--brand);
  border: 0;
  border-radius: 5px;
  cursor: pointer;
  transition: filter .15s;
}
.np-search button:hover { filter: brightness(1.08); }

/* 列表 */
.np-list { display: flex; flex-direction: column; }
.np-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 2px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  color: var(--text);
  transition: color .15s;
}
.np-list-item:last-child { border-bottom: none; }
.np-list-item:hover { color: var(--brand); }
.np-list-title {
  display: flex;
  max-width: 100%;
  align-items: center;
  gap: 8px;
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.np-list-bullet { color: #c8d0de; flex-shrink: 0; font-size: 16px; line-height: 1; }
.np-list-text { display: block; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.np-list-item:hover .np-list-bullet { color: var(--brand); }
.np-list-top {
  flex-shrink: 0;
  padding: 1px 6px;
  font-size: 11px;
  line-height: 1.5;
  color: #db2777;
  background: #fdf2f8;
  border-radius: 4px;
}
.np-list-date {
  flex-shrink: 0;
  font-size: 12px;
  color: var(--faint);
  white-space: nowrap;
}
.np-empty {
  padding: 60px 0;
  text-align: center;
  font-size: 14px;
  color: var(--faint);
}
.np-empty a { color: var(--brand); }
.np-empty a:hover { text-decoration: underline; }

/* 翻页器 */
.pager {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.pager-btn, .pager-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  padding: 0 11px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
  background: #fff;
  border: 1px solid #e6eaf2;
  border-radius: 6px;
  transition: all .16s;
}
.pager-btn:hover, .pager-num:hover {
  color: var(--brand);
  border-color: #c7ccfb;
  background: #f7f8ff;
}
.pager-num.is-current {
  color: #fff;
  border-color: transparent;
  background: var(--brand);
}
.pager-btn.is-disabled { color: #cbd5e1; background: #f8fafc; cursor: not-allowed; }
.pager-gap { color: var(--faint); padding: 0 2px; }

/* ==========================================================================
   3. 文章详情
   ========================================================================== */
.article-main { flex: 1 0 auto; padding: 16px 0 56px; }

.crumb {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin: 0 0 14px;
  font-size: 13px;
  color: var(--faint);
}
.crumb a:hover { color: var(--brand); }
.crumb-sep { color: #cbd5e1; }

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 16px;
  align-items: start;
}
.article-layout > * { min-width: 0; }

.post-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px 28px 28px;
  box-shadow: var(--shadow-card);
}
.post-head { padding-bottom: 18px; border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.post-cat {
  display: inline-block;
  margin-bottom: 10px;
  padding: 2px 9px;
  font-size: 12px;
  color: var(--brand);
  background: var(--brand-soft);
  border-radius: 4px;
}
.post-head .post-title {
  margin: 0 0 12px;
  font-size: 26px;
  line-height: 1.45;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -.01em;
}
.post-head .post-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--faint);
}
.post-meta .dot { color: #cbd5e1; }

.post-body { font-size: 16px; line-height: 1.95; color: #2c3648; word-break: break-word; }
.post-body > *:first-child { margin-top: 0; }
.post-body > *:last-child { margin-bottom: 0; }
.post-body p { margin: 0 0 1.15em; }
.post-body h2 {
  position: relative;
  margin: 1.8em 0 .8em;
  padding-left: 12px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--ink);
}
.post-body h2::before {
  content: '';
  position: absolute;
  left: 0; top: .28em;
  width: 3px; height: 1.05em;
  background: var(--brand);
  border-radius: 2px;
}
.post-body h3 { margin: 1.5em 0 .6em; font-size: 17px; font-weight: 700; color: var(--ink); }
.post-body h4 { margin: 1.4em 0 .6em; font-size: 16px; font-weight: 700; color: var(--ink); }
.post-body ul, .post-body ol { margin: 0 0 1.15em; padding-left: 1.35em; }
.post-body li { margin: .4em 0; }
.post-body ul li { list-style: disc; }
.post-body ol li { list-style: decimal; }
.post-body li::marker { color: var(--brand); }
.post-body a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.post-body strong, .post-body b { font-weight: 700; color: #1e293b; }
.post-body blockquote {
  margin: 1.4em 0;
  padding: 12px 18px;
  color: #475569;
  background: #f7f8fd;
  border-left: 3px solid var(--brand);
  border-radius: 0 6px 6px 0;
}
.post-body blockquote p:last-child { margin-bottom: 0; }
.post-body img { display: block; max-width: 100%; height: auto; margin: 1.4em auto; border-radius: 8px; }
.post-body hr { margin: 2em 0; border: 0; border-top: 1px solid var(--line); }
.post-body table { width: 100%; margin: 1.4em 0; border-collapse: collapse; font-size: 14px; }
.post-body th, .post-body td { padding: 9px 12px; border: 1px solid var(--line); text-align: left; }
.post-body th { background: #f7f9fd; font-weight: 700; color: var(--ink); }
.post-body code {
  padding: 2px 6px;
  font-size: 13px;
  color: #4338ca;
  background: #f1f3fb;
  border-radius: 4px;
  font-family: ui-monospace, Menlo, Consolas, monospace;
}
.post-body pre {
  margin: 1.4em 0;
  padding: 14px 16px;
  overflow-x: auto;
  background: #0f172a;
  border-radius: 8px;
  line-height: 1.7;
}
.post-body pre code { padding: 0; color: #e2e8f0; background: transparent; }

.post-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.post-tags .tag {
  padding: 4px 11px;
  font-size: 12.5px;
  color: var(--muted);
  background: #f7f8fd;
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: all .16s;
}
.post-tags .tag:hover { color: var(--brand); border-color: #c7ccfb; background: #f7f8ff; }

.post-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; }
.post-nav-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 14px;
  background: #fafbfe;
  border: 1px solid var(--line);
  border-radius: 6px;
  transition: all .16s;
}
.post-nav-item:hover { border-color: #c7ccfb; background: #f8f9ff; }
.post-nav-item.is-next { text-align: right; }
.post-nav-label { font-size: 12px; color: var(--faint); }
.post-nav-title { font-size: 14px; font-weight: 600; color: #334155; }
.post-nav-item:hover .post-nav-title { color: var(--brand); }

/* 详情右侧栏 */
.article-side { display: flex; flex-direction: column; gap: 16px; }
.side-card {
  padding: 18px 20px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}
.side-card h3 { margin: 0 0 10px; font-size: 15px; color: var(--ink); }
.side-title { display: flex; align-items: center; gap: 8px; }
.side-title::before {
  content: '';
  width: 3px; height: 14px;
  background: var(--brand);
  border-radius: 2px;
}
.side-cta {
  background: linear-gradient(180deg, #f7f8ff 0%, #fff 100%);
}
.side-cta p { margin: 0 0 14px; font-size: 13px; line-height: 1.7; color: #4b5563; }
.side-tel {
  display: block;
  margin-top: 10px;
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}
.side-list { list-style: none; }
.side-list li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.side-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.side-list li:first-child { padding-top: 0; }
.side-list a {
  display: -webkit-box;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text-2);
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.side-list a:hover { color: var(--brand); }
.side-date { font-size: 12px; color: #b6bfd0; }

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 36px;
  padding: 0 16px;
  font-size: 13.5px;
  font-weight: 600;
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  transition: all .16s;
}
.btn-primary {
  color: #fff;
  background: var(--brand);
  border-color: var(--brand);
}
.btn-primary:hover { filter: brightness(1.06); }
.btn-ghost { color: #475569; background: #fff; border-color: var(--line); }
.btn-ghost:hover { color: var(--brand); border-color: #c7ccfb; background: #f8f9ff; }
.btn-block { width: 100%; }

/* ==========================================================================
   4. 页脚
   ========================================================================== */
.site-footer {
  margin-top: auto;
  padding: 44px 0 22px;
  color: #94a3b8;
  background: #0f172a;
}
.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(148, 163, 184, .16);
}
.footer-logo {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -.01em;
}
.footer-slogan { margin: 8px 0 10px; font-size: 13px; color: #7f8ea8; max-width: 380px; }
.footer-tel { margin: 0; font-size: 13.5px; color: #94a3b8; }
.footer-tel a { color: #c7d2fe; font-weight: 700; }
.footer-links { display: flex; gap: 64px; }
.footer-col { display: flex; flex-direction: column; gap: 8px; }
.footer-col h4 { margin: 0 0 4px; font-size: 13px; font-weight: 600; color: #e2e8f0; }
.footer-col a { font-size: 13px; color: #8fa0b8; transition: color .15s; }
.footer-col a:hover { color: #c7d2fe; }
.footer-bottom { padding-top: 18px; }
.footer-bottom p {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0;
  font-size: 12.5px;
  color: #7f8ea8;
}
.footer-bottom a:hover { color: #c7d2fe; }
.footer-dot { color: #475569; }
.footer-name { color: #8fa0b8; }

/* ==========================================================================
   5. 响应式
   ========================================================================== */
@media (max-width: 1023px) {
  .nav-wrap { padding: 0 24px; }
  .nav-links { display: none; }
  .hamburger-btn { display: flex; }

  .article-layout { grid-template-columns: minmax(0, 1fr); }
  .article-side { display: grid; grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .np-main { flex-direction: column; align-items: stretch; gap: 12px; padding: 12px 16px 40px; }
  .np-side {
    position: static;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px;
  }
  .np-side-head { width: 100%; padding: 0 2px 2px; }
  .np-cat-item {
    padding: 6px 12px;
    font-size: 13px;
    border: 1px solid var(--line);
    border-left-width: 1px;
    border-radius: 999px;
    background: #fff;
  }
  .np-cat-item.active { border-color: var(--brand); }
  .np-side-cta { display: none; }
  .np-content { width: 100%; flex: 0 0 auto; padding: 16px; }
  .np-content-head { gap: 10px; }
  .np-search { width: 100%; }
  .np-search input { width: 100%; }
  .np-list-item { flex-direction: column; align-items: flex-start; gap: 4px; }
  .np-list-title { width: 100%; }
  .np-list-date { padding-left: 16px; }

  .container { padding: 0 16px; }
  .post-card { padding: 18px 16px 22px; }
  .post-head .post-title { font-size: 21px; }
  .post-body { font-size: 15.5px; line-height: 1.9; }
  .post-nav { grid-template-columns: 1fr; }
  .article-side { grid-template-columns: 1fr; }

  .footer-inner { gap: 24px; }
  .footer-links { gap: 40px; }
  .footer-bottom p { font-size: 12px; }
}

/* ============================================================
   联系演示弹窗（内容与首页 openDemoModal 同一套）
   ============================================================ */
.demo-modal {
  display: none;
  position: fixed;
  top: 64px; left: 0; right: 0; bottom: 0;
  z-index: 100;
  padding: 20px;
  background: rgba(0, 0, 0, .5);
  align-items: center;
  justify-content: center;
}
.demo-modal.is-open { display: flex; }
.demo-modal-card {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 640px;
  max-height: 82vh;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .2);
  overflow: hidden;
}
.demo-modal-close {
  position: absolute;
  top: 8px; right: 12px;
  width: 32px; height: 32px;
  padding: 0;
  font-size: 24px;
  line-height: 1;
  color: #999;
  background: none;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
}
.demo-modal-close:hover { color: #4f46e5; background: #f1f5f9; }
.demo-modal-body { padding: 28px; overflow-y: auto; }
.demo-modal-title {
  margin: 0 0 20px;
  font-size: 1.25rem;
  font-weight: 700;
  text-align: center;
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.demo-rows { display: flex; flex-direction: column; gap: 14px; }
.demo-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: #f8fafc;
  border-radius: 10px;
}
.demo-row svg { width: 18px; height: 18px; flex-shrink: 0; color: #6366f1; }
.demo-row-k { font-size: .7rem; color: #999; }
.demo-row-v { font-size: .9rem; font-weight: 600; color: #1e293b; }
.demo-qrs { display: flex; gap: 12px; margin-top: 14px; }
.demo-qr {
  flex: 1;
  padding: 10px;
  text-align: center;
  background: #f0f4ff;
  border-radius: 10px;
}
.demo-qr-k { margin-bottom: 8px; font-size: .75rem; color: #999; }
.demo-qr img {
  display: block;
  width: 110px; height: 110px;
  margin: 0 auto;
  border-radius: 8px;
}
.demo-acc {
  margin-top: 14px;
  padding: 10px 14px;
  background: linear-gradient(135deg, #eef2ff, #f5f3ff);
  border: 1px dashed #c7d2fe;
  border-radius: 10px;
}
.demo-acc-t {
  margin-bottom: 8px;
  font-size: .7rem;
  font-weight: 600;
  color: #6366f1;
  text-align: center;
}
.demo-acc-row { display: flex; justify-content: space-between; gap: 16px; }
.demo-acc-item { flex: 1; text-align: center; }
.demo-acc-k { font-size: .65rem; color: #999; }
.demo-acc-v { font-size: .85rem; font-weight: 600; color: #1e293b; }

@media (max-width: 640px) {
  .demo-modal { padding: 0; }
  .demo-modal-card { max-width: none; max-height: none; height: 100%; border-radius: 0; }
  .demo-modal-body { padding: 22px 16px 28px; }
  .demo-qrs { flex-direction: column; gap: 8px; }
  .demo-qr img { width: 100px; height: 100px; }
  .demo-acc-row { flex-direction: column; gap: 8px; }
}
