/* ===== 布局与组件：导航/Hero/卡片/网格/表格/页脚 ===== */
/* ---------- 顶部导航 ---------- */
.topbar {
  background: var(--brand);
  color: #fff;
  font-size: 0.85rem;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; height: 38px; }
.topbar a { opacity: .85; }
.topbar a:hover { opacity: 1; }
.topbar .links span { margin-left: 18px; }

.navbar {
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  position: sticky; top: 0; z-index: 50;
}
.navbar .container { display: flex; align-items: center; height: 66px; gap: 30px; }
.logo { display: flex; align-items: center; gap: 11px; font-weight: 800; color: var(--brand); font-size: 1.22rem; white-space: nowrap; text-decoration: none; }
.logo-img {
  width: 34px; height: 34px; border-radius: 8px; object-fit: cover; flex-shrink: 0; background: #fff;
  box-shadow: none;
}
.logo-text { display: flex; flex-direction: column; justify-content: center; align-items: center; line-height: 1.12; }
.logo-cn {
  font-family: "FZXiaoBiaoSong-B05S","方正小标宋简体","STZhongsong","Songti SC","SimSun",serif;
  font-size: 1.02rem; font-weight: 700; color: var(--brand); letter-spacing: .5px; white-space: nowrap;
}
.logo-en {
  font-size: .55rem; font-weight: 600; color: var(--muted); letter-spacing: .19em;
  white-space: nowrap; margin-top: 3px;
}
.nav-links { display: flex; gap: 4px; margin-left: 0; flex-wrap: wrap; align-items: center; }
.nav-links > a, .nav-links .has-drop > a {
  padding: 8px 14px; border-radius: 8px; color: var(--ink-soft); font-weight: 600; font-size: .95rem;
  transition: .18s; white-space: nowrap;
}
.nav-links > a:hover, .nav-links .has-drop > a:hover { background: var(--brand-light); color: var(--brand); }
.nav-links > a.active, .nav-links .has-drop > a.active { background: var(--brand); color: #fff; }
/* 二级下拉导航 */
.nav-links .has-drop { position: relative; }
.nav-links .has-drop > a { display:inline-flex; align-items:center; gap:5px; cursor:pointer; }
.nav-links .has-drop .dropdown {
  position:absolute; top:calc(100% + 8px); left:0; min-width:172px; z-index:60;
  background:#fff; border:1px solid var(--line); border-radius:10px; box-shadow:var(--shadow-lg);
  padding:6px; display:none; flex-direction:column;
}
.nav-links .has-drop:hover .dropdown, .nav-links .has-drop.open .dropdown { display:flex; }
.nav-links .dropdown a {
  padding:9px 14px; border-radius:7px; color:var(--ink-soft); font-weight:600; font-size:.9rem;
  white-space:nowrap; transition:.15s;
}
.nav-links .dropdown a:hover { background:var(--brand-light); color:var(--brand); }
.nav-links .dropdown a.active { background:var(--brand); color:#fff; }
.nav-links .has-drop > a .fa-caret-down { font-size:.72rem; opacity:.6; transition:transform .2s; }
.nav-links .has-drop:hover > a .fa-caret-down { transform:rotate(180deg); }
/* 导航项图标（每个标题左侧） */
.nav-links .nav-ico { width:18px; text-align:center; color:var(--brand); font-size:.95rem; }
/* 选中态（父级高亮）图标变白 */
.nav-links > a.active .nav-ico, .nav-links .has-drop > a.active .nav-ico { color:#fff; }
.nav-links > a, .nav-links .has-drop > a { display:inline-flex; align-items:center; gap:6px; }
.nav-toggle { display: none; margin-left: auto; background: var(--brand); color:#fff; border:0; width:34px; height:34px; border-radius:6px; font-size:1rem; cursor:pointer; transition: transform .2s ease; }
.nav-toggle.open { transform: rotate(90deg); }
/* 导航条搜索框（桌面居于导航栏目最右侧） */
.nav-search-wrap { position:relative; display:flex; flex:1 1 200px; max-width:320px; margin:0; margin-left:auto; }
.nav-search { display:flex; align-items:center; position:relative; flex:1 1 auto; margin:0; }
.nav-search input { width:100%; height:38px; border:1px solid var(--line); border-radius:20px; padding:0 42px 0 16px; font-size:.9rem; background:#f6f8fa; color:var(--ink); outline:none; transition:.18s; }
.nav-search input:focus { border-color:var(--brand); background:#fff; box-shadow:0 0 0 3px var(--brand-light); }
.nav-search button { position:absolute; right:4px; top:4px; height:30px; width:34px; border:0; background:transparent; color:var(--brand); cursor:pointer; border-radius:50%; font-size:.95rem; }
.nav-search button:hover { background:var(--brand-light); }
/* 搜索联想下拉 */
.nav-suggest {
  position:absolute; top:calc(100% + 8px); right:0; z-index:70;
  width:380px; max-width:calc(100vw - 24px);
  background:#fff; border:1px solid var(--line); border-radius:12px; box-shadow:var(--shadow-lg);
  padding:6px; overflow:auto; max-height:70vh; display:none; text-align:left;
}
.nav-suggest:not([hidden]) { display:block; }
.ns-group { display:none; }
.ns-item { display:flex; align-items:center; gap:8px; padding:9px 12px; cursor:pointer; border-bottom:1px solid rgba(0,0,0,.04); }
.ns-item:last-child { border-bottom:0; }
.ns-item:hover, .ns-item.active { background:var(--brand-light); }
.ns-type { font-size:.64rem; font-weight:700; padding:1px 6px; border-radius:4px; flex-shrink:0; letter-spacing:.5px; }
.ns-type-college { background:#e8f5e9; color:#2e7d32; }
.ns-type-major { background:#e3f2fd; color:#1565c0; }
.ns-type-article { background:#fff3e0; color:#e65100; }
.ns-name { font-weight:600; font-size:.92rem; color:var(--ink); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.ns-sub { font-size:.78rem; color:var(--muted); margin-left:auto; flex-shrink:0; white-space:nowrap; }
.ns-foot { padding:10px; text-align:center; font-size:.85rem; color:var(--brand); cursor:pointer; border-top:1px solid rgba(0,0,0,.04); margin-top:0; font-weight:600; }
.ns-foot:hover { text-decoration:underline; }
.ns-empty { padding:14px; text-align:center; color:var(--muted); font-size:.88rem; }
/* 手机版搜索图标（默认隐藏，点击在右上角导航条展开搜索框） */
.nav-search-toggle { display:none; }
/* 桌面二级下拉：透明桥接，避免鼠标穿过间隙时下拉收起（仅桌面，下拉为绝对定位时生效） */
@media (min-width: 681px) {
  .nav-links .has-drop .dropdown::before { content:''; position:absolute; top:-12px; left:0; right:0; height:12px; }
}
/* 搜索结果页 */
.search-bar { display:flex; align-items:center; gap:8px; max-width:560px; margin:4px 0 18px; position:relative; }
.search-bar i.fa-search { position:absolute; left:16px; color:var(--muted); }
.search-bar input { flex:1; height:46px; border:1px solid var(--line); border-radius:24px; padding:0 16px 0 42px; font-size:1rem; background:#fff; color:var(--ink); outline:none; transition:.18s; }
.search-bar input:focus { border-color:var(--brand); box-shadow:0 0 0 3px var(--brand-light); }
.search-bar button { height:46px; padding:0 22px; border:0; border-radius:24px; background:var(--brand); color:#fff; font-weight:700; cursor:pointer; font-size:.95rem; }
.search-bar button:hover { background:var(--brand-dark); }
.search-sum { color:var(--ink-soft); margin:6px 0 14px; font-size:.92rem; }
.search-sum b { color:var(--brand); }

/* 全局选中文字：底色为主题色 */
::selection { background: var(--brand); color: #fff; }
::-moz-selection { background: var(--brand); color: #fff; }

/* ---------- Hero ---------- */
.hero {
  background: radial-gradient(1200px 400px at 80% -10%, rgba(200,16,46,.18), transparent 60%),
              linear-gradient(135deg, var(--brand-dark), var(--brand));
  color: #fff; padding: 54px 0 60px; position: relative; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(255,255,255,.12), transparent 70%); border-radius: 50%;
}
.hero h1 { font-size: 2.5rem; line-height: 1.2; margin-bottom: 14px; font-weight: 800; letter-spacing: 1px; }
.hero p { font-size: 1.05rem; opacity: .92; max-width: 640px; }
.hero .quick {
  margin-top: 30px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px;
}
.hero .quick a {
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); border-radius: var(--radius-sm);
  padding: 16px 12px; text-align: center; backdrop-filter: blur(4px); transition: .2s; display: block;
}
.hero .quick a:hover { background: rgba(255,255,255,.22); transform: translateY(-3px); }
.hero .quick .ic { font-size: 1.7rem; display: block; margin-bottom: 6px; }
.hero .quick .t { font-weight: 700; font-size: .95rem; }
.hero .quick .s { font-size: .72rem; opacity: .8; }

/* ---------- 通用区块 ---------- */
.section { padding: 46px 0; }
.section.alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 26px; gap: 16px; flex-wrap: wrap; }
.section-head h2 { font-size: 1.55rem; color: var(--ink); position: relative; padding-left: 15px; }
.section-head h2::before { content:""; position:absolute; left:0; top:6px; bottom:6px; width:5px; border-radius:3px; background: var(--accent); }
.section-head .more { color: var(--brand); font-weight: 600; font-size: .9rem; }
.section-head .more:hover { text-decoration: underline; }

/* ---------- 卡片网格 ---------- */
.grid { display: grid; gap: 18px; }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; transition: .2s; box-shadow: var(--shadow);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #cfdcf2; }
.card h3 { font-size: 1.08rem; margin-bottom: 8px; color: var(--ink); }
.card .meta { font-size: .8rem; color: var(--muted); margin-bottom: 8px; }
.card p { font-size: .9rem; color: var(--ink-soft); }

/* 类别徽标 */
.tag { display: inline-block; font-size: .72rem; font-weight: 700; padding: 2px 9px; border-radius: 20px; color: #fff; }
.tag.music { background: var(--c-music); }
.tag.dance { background: var(--c-dance); }
.tag.perform { background: var(--c-perform); }
.tag.broadcast { background: var(--c-broadcast); }
.tag.art { background: var(--c-art); }
.tag.calligraphy { background: var(--c-calligraphy); }
.tag.gray { background: #94a3b8; }
.tag.brand { background: var(--brand); }
.tag.accent { background: var(--accent); }

/* ---------- 统计条 ---------- */
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; text-align: center; box-shadow: var(--shadow); }
.stat .num { font-size: 2.1rem; font-weight: 800; color: var(--brand); }
.stat .lbl { color: var(--ink-soft); font-size: .9rem; margin-top: 4px; }

/* ---------- 文章列表 ---------- */
.article-list { display: grid; gap: 16px; }
.article-item {
  display: grid; grid-template-columns: 120px 1fr; gap: 18px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 18px; transition: .2s;
}
.article-item:hover { box-shadow: var(--shadow); border-color: #cfdcf2; }
.article-item .thumb { background: linear-gradient(135deg,var(--brand),var(--brand-dark)); border-radius: 10px; display:grid; place-items:center; color:#fff; font-size: 2rem; }
.article-item h3 { font-size: 1.1rem; margin-bottom: 6px; }
.article-item h3 a:hover { color: var(--brand); }
.article-item .meta { font-size: .8rem; color: var(--muted); margin-bottom: 8px; }
.article-item p { font-size: .9rem; color: var(--ink-soft); }

/* ---------- 搜索/筛选条 ---------- */
.toolbar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; align-items: center; padding:14px 16px; background:#fff; border:1px solid var(--line); border-radius:10px; box-shadow: 0 1px 3px rgba(15,30,50,.04); }
.toolbar input[type="search"], .toolbar select, .toolbar input[type="text"] {
  padding: 8px 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; font-size:.88rem; min-width:140px;
}
.toolbar input:focus, .toolbar select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(80,196,188,.12); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 4px; }
.chip {
  padding: 7px 15px; border-radius: 20px; background: #fff; border: 1px solid var(--line);
  font-size: .86rem; cursor: pointer; color: var(--ink-soft); transition: .15s; font-weight: 600;
}
.chip:hover { border-color: var(--brand); color: var(--brand); }
.chip.active { background: var(--brand); color: #fff; border-color: var(--brand); }

/* ---------- 院校/专业详情与表格 ---------- */
.detail-head { display: flex; gap: 20px; align-items: flex-start; flex-wrap: wrap; }
.detail-head .avatar {
  width: 76px; height: 76px; border-radius: 16px; display: grid; place-items: center; color: #fff;
  font-size: 1.7rem; font-weight: 800; background: linear-gradient(135deg,var(--brand),var(--accent)); flex: none;
}
.table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.table th, .table td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line); font-size: .92rem; }
.table th { background: var(--brand-light); color: var(--brand-dark); font-weight: 700; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr:hover { background: #fafcff; }
.table a { color: var(--brand); font-weight: 600; }

.kv { display: grid; grid-template-columns: 130px 1fr; gap: 10px 16px; background:#fff; padding:18px 20px; border:1px solid var(--line); border-radius: var(--radius); }
.kv dt { color: var(--muted); font-weight: 600; }
.kv dd { color: var(--ink); }

/* ---------- 计算器 ---------- */
.calc { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.calc .form-box, .calc .result-box { background:#fff; border:1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; margin-bottom: 7px; font-size: .92rem; }
.field input, .field select { width: 100%; padding: 11px 13px; border: 1px solid var(--line); border-radius: 10px; }
.field input:focus, .field select:focus { outline: 2px solid var(--brand-light); border-color: var(--brand); }
.btn {
  display: inline-flex; align-items:center; justify-content:center; gap:6px;
  padding: 9px 18px; border-radius: 9px; border: 0; cursor: pointer;
  background: var(--brand); color: #fff; font-weight: 600; font-size:.88rem;
  transition: all .15s; line-height:1.2; white-space:nowrap;
  box-shadow: 0 1px 2px rgba(15,30,50,.04);
}
.btn:hover { background: var(--brand-dark); transform: translateY(-1px); box-shadow: 0 4px 10px rgba(80,196,188,.22); }
.btn:active { transform: translateY(0); box-shadow: none; }
.btn.accent { background: var(--accent); }
.btn.accent:hover { background: var(--accent-dark); }
.btn.ghost { background: #fff; color: var(--brand); border: 1px solid var(--brand); box-shadow:none; }
.btn.ghost:hover { background: var(--brand-light); transform: translateY(-1px); }
.btn.danger { background:#e74c3c; }
.btn.danger:hover { background:#c0392b; transform: translateY(-1px); box-shadow: 0 4px 10px rgba(231,76,60,.26); }
.btn.sm { padding:6px 12px; font-size:.8rem; border-radius:7px; }
.btn.xs { padding:4px 9px; font-size:.74rem; border-radius:6px; gap:4px; }
.btn i { font-size:.9em; }
/* 表格内操作按钮（编辑/删除/上下移） */
td.ops { display:flex; gap:5px; align-items:center; }
td.ops button, td.ops a {
  display:inline-flex; align-items:center; justify-content:center;
  width:28px; height:28px; border-radius:6px; border:1px solid var(--line);
  background:#fff; color:var(--ink-soft); cursor:pointer; font-size:.82rem;
  transition:all .15s;
}
td.ops button:hover, td.ops a:hover { color:var(--brand); border-color:var(--brand); background:var(--brand-light); }
td.ops .del:hover { color:#e74c3c; border-color:#e74c3c; background:#fdecea; }
td.ops button.title-btn, td.ops a.title-btn { width:auto; padding:0 9px; font-size:.78rem; }
.result-box .big { font-size: 2.6rem; font-weight: 800; color: var(--accent); }
.result-box .formula { background: var(--bg); border-radius: 10px; padding: 14px; font-family: ui-monospace, Menlo, monospace; font-size: .9rem; margin-top: 14px; color: var(--ink-soft); white-space: pre-wrap; }
.note { font-size: .82rem; color: var(--muted); margin-top: 12px; }

/* ---------- 问答 ---------- */
.qa-item { background:#fff; border:1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; margin-bottom: 14px; box-shadow: var(--shadow); }
.qa-item .q { font-weight: 700; color: var(--brand-dark); display: flex; gap: 10px; }
.qa-item .q .badge { background: var(--accent); color:#fff; border-radius:6px; padding: 1px 9px; font-size:.78rem; flex:none; }
.qa-item .a { margin-top: 10px; color: var(--ink-soft); font-size: .94rem; padding-left: 42px; }
.qa-form { background:#fff; border:1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.qa-form textarea { width: 100%; min-height: 90px; padding: 11px 13px; border: 1px solid var(--line); border-radius: 10px; resize: vertical; }
.qa-form input { padding: 11px 13px; border: 1px solid var(--line); border-radius: 10px; }
.qa-form .row { display: flex; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.qa-form .row input { flex: 1; min-width: 200px; }

/* ---------- 面包屑 ---------- */
.crumb { font-size: .85rem; color: var(--muted); margin: 18px 0; }
.crumb a:hover { color: var(--brand); }
.crumb span { margin: 0 7px; }

/* ---------- 政策 ---------- */
.policy-card { display: grid; grid-template-columns: 90px 1fr auto; gap: 16px; align-items: center; background:#fff; border:1px solid var(--line); border-radius: var(--radius); padding: 18px; margin-bottom: 14px; box-shadow: var(--shadow); }
.policy-card .date { background: var(--brand-light); color: var(--brand-dark); border-radius: 10px; text-align: center; padding: 10px 6px; font-weight: 700; }
.policy-card .date small { display:block; font-size:.72rem; color: var(--muted); font-weight:600; }
.policy-card h3 { font-size: 1.05rem; }
.policy-card .src { font-size:.8rem; color: var(--muted); margin-top:4px; }

/* ---------- 文章正文 ---------- */
.prose { background:#fff; border:1px solid var(--line); border-radius: var(--radius); padding: 34px 38px; box-shadow: var(--shadow); max-width: 820px; margin: 0 auto; }
.prose h1 { font-size: 1.7rem; margin-bottom: 10px; }
.prose .meta { color: var(--muted); font-size: .85rem; margin-bottom: 22px; border-bottom: 1px solid var(--line); padding-bottom: 14px; }
.prose h2 { font-size: 1.25rem; margin: 26px 0 12px; color: var(--brand-dark); }
.prose h3 { font-size: 1.05rem; margin: 18px 0 8px; }
.prose p { margin-bottom: 13px; color: var(--ink-soft); }
.prose ul, .prose ol { margin: 0 0 14px 22px; color: var(--ink-soft); }
.prose li { margin-bottom: 6px; }
.prose strong { color: var(--ink); }

/* ---------- 页脚 ---------- */
.footer { background: var(--brand-dark); color: #e3f6f3; padding: 40px 0 24px; margin-top: 10px; }
.footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 28px; }
.footer h4 { color: #fff; font-size: .98rem; margin-bottom: 14px; }
.footer a { color: #e3f6f3; font-size: .88rem; display: block; margin-bottom: 8px; }
.footer a:hover { color: #fff; }
.footer .copy { border-top: 1px solid rgba(255,255,255,.16); margin-top: 28px; padding-top: 18px; font-size: .82rem; color: #b6e2dc; text-align: center; }
.footer .disclaimer { font-size: .78rem; color: #9fd4cd; margin-top: 8px; line-height: 1.5; }

/* ---------- 页脚：关注我们 + 公众号二维码 ---------- */
.ft-about { font-size: .88rem; color: rgba(227,246,243,.85); line-height: 1.7; }
.ft-follow .follow-row { display: flex; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.qr-col { display: flex; flex-direction: column; align-items: center; gap: 6px; }
/* 二维码卡片：白色圆角卡片（矩形），"关注我们的公众号"文字在卡片外 */
.qr-btn { display: block; padding: 0; border: 0; background: transparent; cursor: pointer; line-height: 0; }
.qr-btn img {
  width: 88px; height: 88px; border-radius: 10px; display: block; border: 4px solid #fff;
  box-shadow: 0 4px 14px rgba(0,0,0,.22); background: #fff; transition: .18s;
}
.qr-btn:hover img { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,.3); }
.qr-cap { font-size: .76rem; color: #d9f1ec; text-align: center; }
/* 社媒：品牌色胶囊，去除易误导的 fa-book 图标 */
.social-links { display: flex; flex-direction: column; gap: 8px; }
.footer .social { display: inline-flex; align-items: center; gap: 7px; font-size: .85rem; font-weight: 600; color: #fff; margin: 0; padding: 7px 13px; border-radius: 20px; transition: .18s; }
.footer .social.xhs { background: linear-gradient(135deg, #ff6a8e, #ff2e4d); }
.footer .social.wb { background: linear-gradient(135deg, #ff9a3d, #e6162d); }
.footer .social:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,.28); color: #fff; }
/* 文章页页脚关注区 */
.site-footer .sf-cols { display: flex; justify-content: center; padding: 18px 0 6px; }
.site-footer .sf-follow { display: flex; align-items: center; gap: 16px; }
.site-footer .sf-follow .social-links { flex-direction: row; }
.site-footer .sf-follow .social { color: #cdd9ee; }
.site-footer .sf-follow .social:hover { color: #fff; }
.site-footer .sf-copy { text-align: center; font-size: .82rem; color: #b6e2dc; padding: 6px 0 0; }

/* ---------- 公众号二维码弹窗（全局） ---------- */
.qr-modal { position: fixed; inset: 0; z-index: 300; display: none; }
.qr-modal.open { display: block; }
.qr-modal .qr-mask { position: absolute; inset: 0; background: rgba(15,30,40,.55); }
.qr-modal .qr-box {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  background: #fff; border-radius: 16px; padding: 22px 22px 18px; width: 280px; max-width: 86vw;
  box-shadow: 0 20px 60px rgba(0,0,0,.35); text-align: center; animation: qrPop .22s ease;
}
@keyframes qrPop { from { opacity: 0; transform: translate(-50%,-46%) scale(.94); } to { opacity: 1; transform: translate(-50%,-50%) scale(1); } }
.qr-modal .qr-box img { width: 220px; height: 220px; border-radius: 10px; display: block; margin: 0 auto; }
.qr-modal .qr-tip { margin: 14px 0 0; font-size: .95rem; font-weight: 600; color: var(--brand-dark); }
.qr-modal .qr-close { position: absolute; right: 10px; top: 8px; border: 0; background: transparent; font-size: 1.4rem; line-height: 1; color: var(--muted); cursor: pointer; }
.qr-modal .qr-close:hover { color: var(--brand); }
/* 后台网站设置：二维码预览 */
.qr-prev-wrap { margin-top: 8px; }
.qr-prev { width: 96px; height: 96px; border: 1px solid var(--line); border-radius: 8px; background: #fff; object-fit: contain; }

/* ---------- 分页/空态 ---------- */
.empty { text-align: center; padding: 50px; color: var(--muted); }
.count { font-size: .88rem; color: var(--muted); margin-bottom: 14px; }

