/* ============================================================
   Components — 资源博客布局（模仿 ruize66.com）
   ============================================================ */

/* ---------- 顶部导航 ---------- */
.topbar {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 50;
}
.topbar-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
}

.brand { display: flex; align-items: center; gap: 10px; flex: none; }
.brand-logo {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3b93ff, #1264e0);
  color: #fff;
  display: grid; place-items: center;
  font-size: 18px;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(30, 124, 246, 0.28);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-name { font-size: 16px; font-weight: 700; color: var(--color-text-strong); font-family:"ZCOOL KuaiLe","YouYuan",sans-serif; }
.brand-sub { font-size: 10px; color: var(--color-muted); }

.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 13px;
  font-size: 14px;
  color: #4a4f57;
  border-radius: var(--radius-md);
  transition: color var(--dur-fast) ease-out, background var(--dur-fast) ease-out;
}
.nav a:hover, .nav a.is-active { color: var(--color-accent); background: rgba(30, 124, 246, 0.06); }
.nav .caret { font-size: 9px; color: var(--color-muted); }
.search-toggle {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border: none;
  background: transparent;
  color: #4a4f57;
  cursor: pointer;
  border-radius: 50%;
  transition: background var(--dur-fast) ease-out;
}
.search-toggle:hover { background: var(--color-bg); }
.search-toggle svg { width: 18px; height: 18px; }
.menu-toggle { display: none; }

/* ---------- 搜索展开面板 ---------- */
.search-panel {
  display: none;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
}
.search-panel.open { display: block; }
.search-panel-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 14px var(--gutter);
}
.search-panel input {
  width: 100%;
  max-width: 480px;
  padding: 10px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  outline: none;
  font-size: 14px;
}
.search-panel input:focus { border-color: var(--color-accent); }

/* ---------- 主体两栏 ---------- */
.layout {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: var(--space-4) var(--gutter) var(--space-7);
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--sidebar);
  gap: var(--space-4);
  align-items: start;
}

/* 通用卡片 */
.card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-1);
}

/* 栏目标题：左侧蓝色竖条 */
.col-title {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text-strong);
  padding: 16px 18px 12px;
}
.col-title::before {
  content: "";
  width: 3px; height: 16px;
  background: var(--color-accent);
  border-radius: 2px;
}

/* ---------- 文章列表 ---------- */
.post-list { padding: 0 18px 6px; }
.post {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--color-divider);
  transition: transform var(--dur-fast) var(--ease-out);
}
.post:last-child { border-bottom: none; }

.thumb {
  flex: none;
  width: 130px; height: 92px;
  border-radius: var(--radius-md);
  display: grid; place-items: center;
  color: #fff;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -1px;
  overflow: hidden;
  position: relative;
}
.thumb span { position: relative; z-index: 1; text-shadow: 0 2px 8px rgba(0,0,0,.18); }
/* 真实图片缩略图（飞书清单配图） */
.thumb-img { display: block; background: var(--color-surface-2); }
.thumb-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb-img::after { content: none; }
.thumb::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.16), transparent 55%);
}
/* 各软件缩略图配色 */
.thumb-t1 { background: linear-gradient(135deg, #6aa9ff, #1e6fe0); } /* Motrix 蓝 */
.thumb-t2 { background: linear-gradient(135deg, #4a4a4a, #1d1d1d); } /* PotPlayer 深 */
.thumb-t3 { background: linear-gradient(135deg, #59c3ff, #1976d2); } /* Everything */
.thumb-t4 { background: linear-gradient(135deg, #7bc47f, #2e7d32); } /* LibreOffice */
.thumb-t5 { background: linear-gradient(135deg, #4aa3ff, #005bea); } /* VS Code */
.thumb-t6 { background: linear-gradient(135deg, #ffa15a, #e8590c); } /* VLC 橙 */
.thumb-t7 { background: linear-gradient(135deg, #ff9a6c, #e2521a); } /* 7-Zip */
.thumb-t8 { background: linear-gradient(135deg, #8a7fd4, #5145a8); } /* Calibre */
.thumb-t9 { background: linear-gradient(135deg, #ff8a5b, #d9481a); } /* Git */
.thumb-t10 { background: linear-gradient(135deg, #ff8a5b, #e6602a); } /* Firefox */

.post-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.post-title {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--color-text-strong);
  transition: color var(--dur-fast) ease-out;
}
.post:hover .post-title { color: var(--color-accent); }
.badge-top {
  display: inline-block;
  background: var(--color-tag);
  color: #fff;
  font-size: 11px;
  font-weight: 400;
  padding: 1px 6px;
  border-radius: var(--radius-sm);
  margin-right: 6px;
  vertical-align: 2px;
}
.post-excerpt {
  margin-top: 7px;
  font-size: 13px;
  color: var(--color-muted);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.post-meta {
  margin-top: auto;
  padding-top: 8px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 12px;
  color: var(--color-muted);
}
.post-meta .date { flex: none; }
.post-meta .mi { flex: none; }
.post-meta .date { color: var(--color-date); }
.post-meta .mi { display: inline-flex; align-items: center; gap: 4px; }
.post-meta svg { width: 13px; height: 13px; fill: currentColor; opacity: .75; }

/* 分类筛选条 */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 18px 14px;
}
.filter-chip {
  padding: 5px 14px;
  font-size: 13px;
  color: #5a6069;
  background: var(--color-bg);
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all var(--dur-fast) ease-out;
}
.filter-chip:hover { color: var(--color-accent); }
.filter-chip.is-active {
  color: #fff;
  background: var(--color-accent);
  font-weight: 600;
}

/* 应用工具二级分类条 */
.sub-filter { padding: 4px 18px 12px; }
.sub-filter-in {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  padding: 9px 11px;
  background: var(--color-bg);
  border: 1px solid rgba(0,0,0,.05);
  border-radius: 10px;
}
.sub-filter-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--color-muted);
  margin-right: 3px;
  white-space: nowrap;
}
.sub-chip {
  padding: 4px 11px;
  font-size: 12px;
  line-height: 1.4;
  color: #5a6069;
  background: #fff;
  border: 1px solid #e3e7ee;
  border-radius: var(--radius-pill);
  cursor: pointer;
  font-family: inherit;
  transition: all var(--dur-fast) ease-out;
  white-space: nowrap;
}
.sub-chip:hover { color: var(--color-accent); border-color: var(--color-accent); }
.sub-chip.is-active {
  color: #fff;
  background: var(--color-accent);
  border-color: var(--color-accent);
  font-weight: 600;
}
/* 导航栏「应用工具」二级分类下拉 */
.sp-nav{position:relative;z-index:60}
.sp-nav-item{position:relative}
.sp-nav-item>a{display:flex;align-items:center;gap:5px}
.nav-caret{font-size:10px;opacity:.7;transition:transform .18s}
.sp-nav-item.is-open .nav-caret{transform:rotate(180deg)}
.nav-submenu{position:absolute;top:100%;left:0;z-index:80;min-width:min(600px,calc(100vw - 24px));max-width:calc(100vw - 24px);padding:10px;background:#fff;border:1px solid #e3e7ee;border-radius:0 0 12px 12px;box-shadow:0 14px 32px rgba(15,23,42,.16);animation:navSubIn .16s ease-out}
.nav-submenu[hidden]{display:none}
.nav-submenu .sub-filter-in{background:#fff;border:0;padding:0}
@keyframes navSubIn{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:none}}
/* 应用卡片系统平台小图标（标题下、日期上） */
.post-platforms{display:flex;align-items:center;justify-content:center;gap:0;margin:5px 0 1px;min-height:12px}
.os-icon{display:inline-flex;align-items:center;justify-content:center;width:11px;height:11px;color:#7b8493}
.os-icon svg,.os-icon img{width:100%;height:100%;display:block;object-fit:contain}
/* 1 个：居中；2 个：左右各一个且等距；3-4 个：等间距铺开 */
.post-platforms[data-n="1"]{justify-content:center}
.post-platforms[data-n="2"]{justify-content:space-between;padding:0 12%}
.post-platforms[data-n="3"],.post-platforms[data-n="4"]{justify-content:space-evenly;padding:0 4%}

.post.is-hidden { display: none; }

.file-empty {
  padding: 40px 18px;
  text-align: center;
  color: var(--color-muted);
}
.file-empty span { display: block; font-size: 34px; color: #c9ced6; }
.file-empty p { margin-top: 8px; }

/* ---------- 侧边栏 ---------- */
.sidebar { display: flex; flex-direction: column; gap: var(--space-4); }
.widget { padding-bottom: 6px; }
.widget-body { padding: 4px 16px 10px; }

/* 特别推荐：纯文字列表 + 日期 */
.rec-list li {
  display: flex;
  gap: 8px;
  align-items: baseline;
  padding: 8px 0;
  border-bottom: 1px dashed var(--color-divider);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}
.rec-list li:last-child { border-bottom: none; }
.rec-list a { flex: 1; color: #1a2230; font-family: var(--font-body); font-size: 14px; font-weight: 600; transition: color var(--dur-fast) ease-out; }
.rec-list a:hover { color: var(--color-accent); }
.rec-list .tag { color: var(--color-tag); }
.rec-list .d { color: var(--color-muted); font-size: 12px; font-weight: 400; flex: none; }

/* 彩色推荐块 */
.promo {
  display: block;
  margin: 4px 16px 12px;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  transition: transform var(--dur-fast) var(--ease-out), filter var(--dur-fast) ease-out;
}
.promo:hover { transform: translateY(-2px); filter: brightness(1.06); }
.promo-purple { background: linear-gradient(135deg, #a78bfa, #7c3aed); }
.promo-blue { background: linear-gradient(135deg, #60a5fa, #2563eb); }

/* 热门文章：小缩略图 + 标题 + 日期 */
.hot-list li {
  display: flex;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--color-divider);
}
.hot-list li:last-child { border-bottom: none; }
.hot-thumb {
  flex: none;
  width: 58px; height: 46px;
  border-radius: var(--radius-sm);
  display: grid; place-items: center;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  overflow: hidden;
}
.hot-thumb.thumb-img { display: block; }
.hot-thumb.thumb-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hot-info { min-width: 0; display: flex; flex-direction: column; }
.hot-info a {
  font-size: 12.5px;
  line-height: 1.45;
  color: #40454d;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hot-info a:hover { color: var(--color-accent); }
.hot-info .d { color: var(--color-date); font-size: 11px; margin-top: 3px; }

/* ---------- 底部声明 ---------- */
.notice {
  max-width: var(--wrap);
  margin: 0 auto var(--space-5);
  padding: 18px 20px;
  background: var(--color-surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-1);
  font-size: 13px;
  color: var(--color-muted);
  line-height: 1.8;
}
.notice strong { color: var(--color-text); }

/* ---------- 页脚 ---------- */
.site-footer {
  background: #2b3038;
  color: #b9bfc8;
  padding: var(--space-5) var(--gutter);
  font-size: 12px;
}
.footer-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3);
}
.footer-inner a { color: #cdd3dc; }
.footer-inner a:hover { color: #fff; }
.footer-main { display: flex; flex-direction: column; gap: 4px; }
.footer-main b { color: #fff; font-size: 14px; }
.backtop { margin-left: auto; }

/* ---------- 响应式 ---------- */
@media (max-width: 960px) {
  /* 右栏始终单列纵向堆叠，不并排挤压 */
  .sidebar { display: flex; flex-direction: column; }
}

@media (max-width: 680px) {
  .topbar-inner { height: 54px; }
  .brand-sub { display: none; }
  .nav { display: none; position: absolute; top: 54px; left: 0; right: 0; background: var(--color-surface); flex-direction: column; align-items: stretch; padding: 8px 12px; border-bottom: 1px solid var(--color-border); box-shadow: var(--shadow-2); }
  .nav.open { display: flex; }
  .menu-toggle { display: grid; margin-left: auto; }
  .search-toggle { margin-left: 0; }
  .post { gap: 12px; }
  .thumb { width: 96px; height: 72px; font-size: 24px; }
  .post-title { font-size: 14px; }
  .post-excerpt { -webkit-line-clamp: 2; }
  .post-meta { gap: 10px; }
  .post-meta .mi.opt { display: none; }
}

/* ---------- 右下角：总阅读量 + 回到顶部 ---------- */
.corner-bar{position:fixed;right:16px;bottom:16px;z-index:60;display:flex;flex-direction:column;
  align-items:center;gap:5px}
.corner-total{font-size:12px;color:#6b7482;white-space:nowrap;font-variant-numeric:tabular-nums;
  background:rgba(255,255,255,.92);border-radius:10px;padding:1px 8px;box-shadow:0 2px 8px rgba(20,30,50,.1)}
.corner-total b{color:#2563eb;font-weight:700;font-size:13px}
.backtop-float{width:32px;height:32px;border-radius:50%;background:#2563eb;color:#fff;display:grid;place-items:center;
  text-decoration:none;font-size:16px;font-weight:700;line-height:1;box-shadow:0 6px 20px rgba(20,30,50,.14)}
.backtop-float:hover{background:#1d5fd6}
@media(max-width:560px){
  .corner-bar{right:10px;bottom:10px;gap:4px}
  .corner-total{font-size:11px;padding:1px 7px}
  .corner-total b{font-size:12px}
  .backtop-float{width:28px;height:28px;font-size:14px}
}

/* ===== 文档详情弹窗（点击条目在当前页展开） ===== */
.dc-overlay{display:none;position:fixed;inset:0;z-index:100000;align-items:center;justify-content:center;padding:24px}
.dc-overlay.on{display:flex}
.dc-mask{position:absolute;inset:0;background:rgba(15,23,42,.6);backdrop-filter:blur(2px)}
.dc-panel{position:relative;width:min(820px,100%);max-height:88vh;overflow:auto;background:#fff;border-radius:14px;box-shadow:0 24px 70px rgba(0,0,0,.35);padding:38px 44px 44px}
.dc-close{position:sticky;top:0;float:right;width:36px;height:36px;border:0;border-radius:50%;background:#f1f3f6;color:#5a6472;font-size:18px;cursor:pointer;line-height:36px;text-align:center;z-index:2}
.dc-close:hover{background:#e4e8ee;color:#1a2230}
.dc-cat{display:inline-block;font-size:12px;color:#1e7cf6;background:rgba(30,124,246,.09);padding:4px 12px;border-radius:20px;margin-bottom:16px}
.dc-title{font-size:27px;line-height:1.35;font-weight:800;color:#1a2230;margin:0 0 12px;word-break:break-word}
.dc-meta{font-size:13px;color:#9298a2;display:flex;gap:18px;flex-wrap:wrap;padding-bottom:20px;border-bottom:1px solid #eef0f3;margin-bottom:24px}
.dc-cover{display:block;width:100%;max-height:300px;object-fit:cover;border-radius:10px;margin:0 0 22px}

/* ---------- 详情页：简介块 ---------- */
.dc-excerpt{font-size:14px;line-height:1.7;color:#5a6472;background:#f7f9fc;border-left:3px solid #2563eb;border-radius:0 8px 8px 0;padding:12px 16px;margin:0 0 20px}
.dc-body{font-size:16px;line-height:1.9;color:#2b3442}
.dc-body p{margin:0 0 14px}
.dc-body .dc-h{font-weight:700;color:#1a2230;margin:22px 0 10px;font-size:17px}
.dc-figure{margin:16px 0 20px;text-align:center}
.dc-figure img{display:block;max-width:100%;height:auto;margin:0 auto;border-radius:8px;box-shadow:0 2px 12px rgba(20,30,50,.08)}
.dc-body .dc-note{background:#f7f8fa;border-left:3px solid #c8cdd4;color:#7a8492;padding:12px 16px;border-radius:0 8px 8px 0;font-size:14px;margin:18px 0}
.dc-body a.dc-link{display:flex;align-items:center;gap:10px;background:#f4f8ff;border:1px solid #d8e6fb;color:#1e6fd9;padding:12px 16px;border-radius:8px;text-decoration:none;margin:8px 0 16px;word-break:break-all;font-size:15px}
.dc-body a.dc-link:hover{background:#e8f1ff;border-color:#1e7cf6}
.dc-body a.dc-link::before{content:'🔗';font-size:15px;flex:none}
.dc-children{margin-top:30px;padding-top:22px;border-top:1px solid #eef0f3}
.dc-children h3{font-size:15px;color:#9298a2;margin:0 0 14px;font-weight:600}
.dc-children ul{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:10px}
.dc-children a{display:block;padding:12px 14px;background:#f7f8fa;border-radius:8px;color:#2b3442;text-decoration:none;font-size:14px;border:1px solid #eef0f3}
.dc-children a:hover{background:#f0f6ff;border-color:#cfe0fa;color:#1e6fd9}
.dc-empty{text-align:center;padding:60px 20px;color:#9298a2}
@media(max-width:640px){.dc-panel{padding:26px 20px 32px}.dc-title{font-size:22px}.dc-overlay{padding:10px}}

/* ---- 详情视图（跳转式） ---- */
.dv{display:none;position:fixed;inset:0;z-index:100000;overflow:auto;background:var(--color-bg,#f5f6f8)}
.dv.on{display:block}
.dv-bar{position:sticky;top:0;z-index:3;background:#fff;border-bottom:1px solid #e5e8ec;box-shadow:0 1px 6px rgba(20,30,50,.04)}
.dv-bar-in{max-width:860px;margin:0 auto;padding:12px 20px;display:flex;align-items:center;gap:14px}
.dv-back{border:1px solid #dfe3e9;background:#f7f8fa;color:#374151;border-radius:8px;padding:8px 14px;font-size:14px;cursor:pointer;font-family:inherit}
.dv-back:hover{background:#eef3fb;border-color:#1e7cf6;color:#1e7cf6}
.dv-crumb{font-size:13px;color:#8a93a0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.dv-wrap{max-width:860px;margin:0 auto;padding:28px 18px 90px}
.dv-card{background:#fff;border:1px solid #e5e8ec;border-radius:12px;padding:38px 44px 44px;box-shadow:0 8px 30px rgba(20,30,50,.05)}
.theme-dark .dv-card,.theme-dark .dv-bar,.theme-warm .dv-card,.theme-warm .dv-bar{background:var(--color-card,#fff);border-color:var(--color-line,#e5e8ec)}
@media(max-width:640px){.dv-card{padding:24px 20px 32px}.dv-bar-in{padding:10px 14px}}


/* ============================================================
   实用派风格重构：深色双行导航 + Banner + 三列卡片网格
   ============================================================ */
:root{--sp-dark:#232733;--sp-dark2:#2e3341;--sp-orange:#ff6b1a;--sp-blue:#3b82f6}

/* 顶栏：深色双行 */
.topbar{background:var(--sp-dark);position:sticky;top:0;z-index:60;border-bottom:none}
.sp-head1{background:var(--sp-dark)}
.sp-head1-in{max-width:var(--wrap);margin:0 auto;padding:12px var(--gutter);display:flex;align-items:center;gap:20px}
.sp-brand{display:flex;align-items:center;gap:8px;flex:none}
.sp-logo{height:52px;width:auto;display:block;flex:none}
.sp-brandname{font-size:21px;font-weight:900;color:#fff;letter-spacing:1px;font-family:"ZCOOL KuaiLe","YouYuan",sans-serif}
.sp-subtitle{margin-left:-8px;flex:none;display:inline-flex;align-items:center;height:26px;padding:0 8px;border-radius:13px;color:#aeb4c2;font-size:13px;font-weight:600;letter-spacing:.6px;text-decoration:none;white-space:nowrap;transition:color .18s ease,background-color .18s ease}
.sp-subtitle:hover{color:#fff;background:rgba(255,255,255,.12)}
.sp-subtitle:focus-visible{outline:2px solid #7ea6f0;outline-offset:1px}
.sp-searchbox{margin-left:auto;flex:0 0 auto;max-width:32px;display:flex;align-items:center;gap:0;background:transparent;border-radius:20px;padding:0;color:#aeb4c2;overflow:hidden;transition:max-width .26s cubic-bezier(.33,0,.2,1),background-color .2s ease,padding .26s cubic-bezier(.33,0,.2,1),gap .2s ease}
.sp-searchbox.is-open{flex:1 1 430px;max-width:430px;background:rgba(255,255,255,.12);padding:0 15px 0 4px;gap:8px}
.sp-searchbox .sp-searchbtn{width:32px;height:32px;flex:none;display:grid;place-items:center;padding:0;border:0;border-radius:50%;background:transparent;color:#aeb4c2;cursor:pointer;font:inherit;transition:background-color .18s ease,color .18s ease}
.sp-searchbox .sp-searchbtn:hover{background:rgba(255,255,255,.12);color:#fff}
.sp-searchbox .sp-searchbtn:focus-visible{outline:2px solid #7ea6f0;outline-offset:1px}
.sp-searchbox svg{width:17px;height:17px;flex:none}
.sp-searchbox input{flex:1 1 0;width:0;min-width:0;padding:0;background:transparent;border:0;outline:0;color:#fff;font-size:13px;opacity:0;transition:opacity .16s ease}
.sp-searchbox.is-open input{opacity:1}
.sp-searchbox input::placeholder{color:#9aa2b1}
.sp-searchbox input::-webkit-search-cancel-button{-webkit-appearance:none}
.sp-disclaimer{margin:0;max-width:390px;color:#aeb4c2;font-family:"Microsoft YaHei","PingFang SC",Arial,sans-serif;font-size:12px;line-height:1.6;text-align:justify}
.sp-disclaimer a{color:inherit;text-decoration:none}
#menuToggle{display:none;color:#fff}
.sp-nav{background:var(--sp-dark2);border-top:1px solid rgba(255,255,255,.06)}
.sp-nav-in{max-width:var(--wrap);margin:0 auto;padding:0 var(--gutter);display:flex;gap:2px}
.sp-nav a{color:#cdd2dc;font-size:14px;padding:11px 16px;border-radius:0;transition:color .15s}
.sp-nav a:hover,.sp-nav a.is-active{color:#fff;background:rgba(255,255,255,.08)}

/* Hero：横幅 + 右侧时钟 */
.sp-hero{max-width:var(--wrap);margin:18px auto 0;padding:0 var(--gutter);display:grid;grid-template-columns:minmax(0,1fr) var(--sidebar);gap:var(--space-4);align-items:stretch}
.sp-banner{position:relative;min-height:212px;border-radius:14px;overflow:hidden;background:linear-gradient(90deg,#f8fbff 0%,#f2f8ff 100%);display:flex;align-items:center}
.sp-banner>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;opacity:1}
.sp-banner::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#f8fbff 0%,#f8fbff 30%,rgba(248,251,255,0) 56%);z-index:1;pointer-events:none}
.sp-banner-txt{position:relative;z-index:2;padding:26px 34px 26px 34px;display:flex;flex-direction:column;gap:8px;margin-top:44px}
.sp-banner-txt strong{font-size:32px;font-weight:900;color:#1e3a5f;line-height:1.2}
.sp-banner-txt em{font-style:normal;font-size:14px;color:#5b7091}
.sp-hero-side{display:flex;flex-direction:column;gap:12px}
.sp-hero-side .sp-clock-card{flex:1}
.sp-clock-card{background:#fff;border-radius:14px;padding:16px 18px;box-shadow:0 2px 12px rgba(20,30,50,.05);display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:112px}
.sp-clock-face{display:flex;justify-content:center}
.sp-clock-face img{height:88px;width:auto;display:block}
.sp-clock-time{font-size:30px;font-weight:800;color:#2563eb;margin:8px 0 2px;font-variant-numeric:tabular-nums;letter-spacing:1px}
.sp-clock-date{font-size:12px;color:#8a93a0;display:flex;flex-direction:row;align-items:center;justify-content:center;gap:4px;line-height:1.35;flex-wrap:wrap}
.sp-clock-date .ck-y{font-weight:600;color:#6b7482}
.sp-clock-date .ck-md{font-weight:600;color:#6b7482}
.sp-clock-date .ck-w{color:#9aa3b0}
.sp-tools-card{background:#fff;border-radius:14px;padding:12px 14px;box-shadow:0 2px 12px rgba(20,30,50,.05);flex:1}
.sp-tools-card h3{font-size:13px;color:#8a93a0;font-weight:600;margin-bottom:8px;text-align:center}
.sp-tool-item{display:flex;align-items:center;gap:9px;padding:5px 0;font-size:12px;color:#374151}
.sp-tool-item img{width:28px;height:28px;border-radius:6px;object-fit:contain;background:#f4f6f9}
.sp-tool-item:hover{color:#2563eb}
.qr-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.qr-item{display:flex;flex-direction:column;align-items:center;gap:6px}
.qr-label{font-size:12px;color:#4b5563;font-weight:600;letter-spacing:.5px}
.qr-item img{width:100%;aspect-ratio:1/1;object-fit:contain;background:#fff;border:1px solid #eef0f3;border-radius:8px;padding:4px;cursor:zoom-in;transition:transform .15s,box-shadow .15s}
.qr-item img:hover{transform:scale(1.04);box-shadow:0 6px 18px rgba(30,60,100,.14)}
.qr-lightbox{position:fixed;inset:0;z-index:200000;background:rgba(15,20,30,.84);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;animation:qrfade .18s ease}
.qr-lightbox img{max-width:min(86vw,620px);max-height:76vh;width:auto;height:auto;background:#fff;border-radius:14px;padding:14px;box-shadow:0 20px 60px rgba(0,0,0,.35)}
.qr-lightbox span{color:#fff;font-size:16px;font-weight:600;letter-spacing:1px}
.qr-lightbox-close{position:absolute;top:24px;right:32px;width:44px;height:44px;border:0;border-radius:50%;background:rgba(255,255,255,.16);color:#fff;font-size:30px;line-height:1;cursor:pointer}
.qr-lightbox-close:hover{background:rgba(255,255,255,.3)}
@keyframes qrfade{from{opacity:0}to{opacity:1}}

/* 主体：外层留白与 sypai 一致 */
.layout{max-width:var(--wrap);padding-top:16px;gap:var(--space-4)}
.sp-main-card{padding:14px 18px 20px}
.sp-latest-title{display:inline-flex;background:linear-gradient(135deg,#4f8ef7,#2563eb);color:#fff;border-radius:16px;padding:7px 18px;font-size:14px;margin-bottom:14px}
.sp-latest-title::before{display:none}

/* 五列卡片网格 */
.post-list{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;padding:0}
.post{display:flex;flex-direction:column;gap:0;padding:0;border:1px solid #edf0f4;border-radius:12px;overflow:hidden;background:#fff;position:relative;transition:transform .18s,box-shadow .18s}
.post:hover{transform:translateY(-3px);box-shadow:0 10px 26px rgba(20,30,50,.1)}
/* 缩略图：1:1 正方形，图片填满铺满整个区域 */
.post .thumb{width:100%;aspect-ratio:1/1;height:auto;border-radius:0;font-size:32px;background:#fff;overflow:hidden}
.post .thumb-img img{width:100%;height:100%;object-fit:cover;padding:0;background:#fff;display:block}
.post .thumb-img .ico-sprite{width:100%;height:100%;margin:0}
.post-list .post:nth-child(-n+5):not(.is-pinned):not(.is-updated)::after{content:"new";position:absolute;top:8px;right:8px;background:#ff4d4f;color:#fff;font-size:10px;font-weight:700;padding:2px 7px;border-radius:4px;z-index:2}
/* 最近更新的条目：绿色“更新”角标 */
.post-list .post.is-updated::after{content:"更新";position:absolute;top:8px;right:8px;background:#16a34a;color:#fff;font-size:10px;font-weight:700;padding:2px 7px;border-radius:4px;z-index:2}
.post-body{padding:9px 10px 11px;display:flex;flex-direction:column;flex:1}
.post-title{font-size:13px;line-height:1.45;font-weight:700;color:#1f2937;min-height:38px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;word-break:break-word}
.post-excerpt{font-size:11px;color:#8a93a0;line-height:1.45;margin:4px 0 7px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:32px}
.post-meta{margin-top:auto;font-size:10.5px;color:#a3aab5;gap:7px;flex-wrap:wrap;justify-content:space-between}
.post-meta .date{flex:none}
.post-meta .mi{flex:none}
.badge-top{position:absolute;top:8px;left:8px;z-index:2}

/* 侧栏：工具列表风格 */
.sidebar .widget{border-radius:12px;overflow:hidden}
.sp-float-sub{position:fixed;right:20px;bottom:20px;z-index:55;background:#fff;border:1px solid #e5e8ec;border-radius:22px;padding:9px 16px;font-size:13px;color:#374151;box-shadow:0 6px 20px rgba(20,30,50,.14)}
.sp-float-sub::before{content:"✉ ";color:#2563eb}

@media(max-width:980px){
  .sp-disclaimer{display:none}
}
@media(max-width:680px){
  .sp-head1-in{gap:10px;padding:10px 12px}
  .sp-brandname{display:none}
  .sp-searchbox{max-width:32px;margin-left:0}
  .sp-searchbox.is-open{flex:1 1 430px;max-width:none}
  .sp-subtitle{font-size:12px;padding:0 6px;margin-left:-4px}
  #menuToggle{display:grid;flex:none;margin-left:auto}
  .sp-nav{display:none}
  .sp-nav.open{display:block;position:absolute;top:60px;left:0;right:0;z-index:5}
  .sp-nav-in{flex-wrap:wrap}
  .post-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
  .sp-banner-txt strong{font-size:24px}
  .sp-tool-item span{display:inline}
}

/* ---------- 搜索空态按钮 ---------- */
.empty-clear-btn{margin-top:10px;padding:8px 18px;border:1px solid #d7dde8;border-radius:8px;background:#fff;color:#3a4050;font-size:13px;cursor:pointer;transition:background .15s,border-color .15s}
.empty-clear-btn:hover{background:#f2f6fd;border-color:#9db8e8}
.file-empty p strong{color:#3a4050;font-weight:600}

/* ---------- 响应式：半屏 / 窄屏适配 ---------- */
@media(max-width:1180px){
  /* 半屏：侧栏收窄，卡片降为四列 */
  .sp-hero{grid-template-columns:minmax(0,1fr) 250px}
  .layout{grid-template-columns:minmax(0,1fr) 250px}
  .post-list{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
}
@media(max-width:1000px){
  /* 窄屏兼容：仍是左列表 + 右栏目两栏，右栏收窄、内容缩小 */
  .sp-hero{grid-template-columns:minmax(0,1fr) 210px}
  .layout{grid-template-columns:minmax(0,1fr) 210px}
  .post-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
  .sp-banner{min-height:180px}
  .sidebar{gap:12px}
  .sp-clock-face img{height:62px}
  .sp-clock-time{font-size:22px}
  .sp-clock-date{font-size:11px}
  .rec-list li{padding:6px 0}
  .rec-list li,.rec-list a{font-size:12.5px}
  .hot-thumb{width:44px;height:34px}
  .hot-list a{font-size:12.5px}
}
@media(max-width:820px){
  /* 手机/平板：主列表全宽，正文一排三个；三块推荐移到主栏下方横排 */
  .sp-hero{grid-template-columns:minmax(0,1fr) 168px}
  .layout{grid-template-columns:minmax(0,1fr)}
  .post-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
  /* 三块推荐（副业推荐 / 全家桶 / 热门文章）放到底部，各占一排（纵向堆叠） */
  .sidebar{display:flex;flex-direction:column;gap:12px;margin-top:12px}
  .sidebar>*{min-width:0}
  /* 窄屏：年 / 月日 / 星期 分三排显示 */
  .sp-clock-face img{height:48px}
  .sp-clock-time{font-size:18px;letter-spacing:0}
  .sp-clock-date{font-size:10px;line-height:1.4;gap:0;flex-direction:column;flex-wrap:nowrap}
  .sp-clock-date .ck-y{font-size:10.5px}
  .sp-clock-date .ck-md{font-size:10.5px}
  .sp-clock-date .ck-w{font-size:9.5px}
  /* 三列时栏内内容压缩 */
  .col-title{font-size:13px;padding-left:8px}
  .widget-body{padding:2px 12px 10px}
  .rec-list li{padding:7px 0}
  .rec-list li,.rec-list a{font-size:13px}
  .hot-list li{padding:9px 0;gap:10px}
  .hot-thumb.thumb-img{display:block;width:50px;height:40px}
  .hot-list a{font-size:13px}
}
@media(max-width:860px){
  /* 窄屏：统一留白，卡片保持三列 */
  .sp-hero,.layout,.sp-head1-in,.sp-nav-in{padding-left:12px;padding-right:12px}
  .post-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
}
@media(max-width:560px){
  /* 手机：banner 文字缩小并下移，避开人物面部 */
  .sp-banner{min-height:200px;align-items:flex-end}
  .sp-banner-txt{margin-top:0;padding:0 14px 14px;gap:4px}
  .sp-banner-txt strong{font-size:19px;line-height:1.25}
  .sp-banner-txt em{font-size:11.5px}
  /* 手机：右栏再收窄，正文卡片仍是一排三个 */
  .sp-hero{grid-template-columns:minmax(0,1fr) 118px}
  .post-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
  .sp-clock-face img{height:40px}
  .sp-clock-time{font-size:16px}
  .sp-main-card{padding:12px 12px 16px}
  .post-body{padding:7px 7px 9px}
  .post-title{font-size:12px;min-height:34px;line-height:1.4}
  .post-meta{font-size:10px;gap:5px}
}
@media(max-width:400px){
  .post-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
  .post-title{font-size:11px;min-height:30px}
  .post-meta{font-size:9.5px}
  .sp-main-card{padding:10px 8px 14px}
}

/* ---------- 详情页：软件文章结构（参考实用派） ---------- */
.dc-sec{font-size:16px;font-weight:700;color:#1a2230;margin:26px 0 12px;padding-left:10px;border-left:3px solid var(--color-accent,#1e7cf6);line-height:1.3}
.dc-intro{margin:0 0 22px}
.dc-intro .dc-sec{margin-top:0}
/* 版权声明：参考实用派的虚线框样式，文案用本站自己的文字 */
.dc-copyright{margin-top:34px}
.dc-cp-box{border:2px dashed #e8b235;border-radius:8px;background:#fff;padding:22px 14px 14px;margin-top:22px}
.dc-cp-legend{display:block;width:30%;min-width:96px;margin:-36px auto 10px;text-align:center;background:#e8b235;color:#fff;font-size:14px;font-weight:600;padding:5px 0;border-radius:6px}
.dc-cp-inner{border:1px dashed #e8b235;border-radius:6px;padding:12px 14px;line-height:2em;font-size:14px;color:#e03131;text-align:center}
.dc-cp-inner p{margin:0 0 10px;text-align:left}
.dc-cp-inner p:last-child{margin-bottom:0}
.dc-cp-inner hr{border:0;border-top:1px dashed #e8b235;margin:12px 0}
.dc-cp-inner a{color:#09ace2;text-decoration:none}
.dc-cp-inner a:hover{text-decoration:underline}
/* 上一篇 / 下一篇 */
.dc-nav{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:26px}
.dc-nav-item{display:flex;align-items:center;gap:12px;background:#f7f9fc;border:1px solid #eef0f3;border-radius:10px;padding:12px 14px;text-decoration:none;color:inherit;min-width:0}
.dc-nav-item:hover{background:#f0f6ff;border-color:#cfe0fa}
.dc-nav-item--next{flex-direction:row-reverse;text-align:right}
.dc-nav-item--empty{background:transparent;border-color:transparent}
.dc-nav-thumb{width:64px;height:64px;flex:none;border-radius:8px;overflow:hidden;background:#f1f3f6;display:block}
.dc-nav-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.dc-nav-thumb .ico-sprite{width:100%;height:100%;margin:0}
.dc-nav-info{min-width:0}
.dc-nav-label{display:inline-block;font-size:12px;color:#fff;background:var(--color-accent,#1e7cf6);border-radius:20px;padding:2px 10px;margin-bottom:6px}
.dc-nav-title{display:block;font-size:14px;color:#2b3442;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
/* 相关文章 */
.dc-related{margin-top:30px;padding-top:22px;border-top:1px solid #eef0f3}
.dc-related-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.dc-rel-card{display:flex;gap:10px;align-items:center;background:#f7f9fc;border:1px solid #eef0f3;border-radius:10px;padding:10px;text-decoration:none;color:inherit;min-width:0}
.dc-rel-card:hover{background:#f0f6ff;border-color:#cfe0fa}
.dc-rel-thumb{width:56px;height:56px;flex:none;border-radius:8px;overflow:hidden;background:#f1f3f6;display:block}
.dc-rel-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.dc-rel-thumb .ico-sprite{width:100%;height:100%;margin:0}
.dc-rel-info{min-width:0}
.dc-rel-title{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:13px;line-height:1.5;color:#2b3442;word-break:break-word}
.dc-rel-meta{display:block;font-size:12px;color:#9298a2;margin-top:4px}
@media(max-width:760px){
  .dc-nav{grid-template-columns:1fr}
  .dc-nav-item--empty{display:none}
  .dc-related-grid{grid-template-columns:1fr}
}

/* ---------- 分页 ---------- */
.pager{display:flex;align-items:center;justify-content:center;gap:12px;padding:20px 0 4px;flex-wrap:wrap}
.pager-btn{border:1px solid #dfe3e9;background:#fff;color:#374151;border-radius:20px;padding:8px 20px;font-size:13px;cursor:pointer;font-family:inherit;transition:background .15s,border-color .15s,color .15s}
.pager-btn:hover:not(:disabled){background:#eef3fb;border-color:#1e7cf6;color:#1e7cf6}
.pager-btn:disabled{opacity:.45;cursor:not-allowed}
.pager-info{font-size:13px;color:#9298a2;min-width:92px;text-align:center}
@media(max-width:560px){
  .pager{gap:8px;padding:16px 0 2px}
  .pager-btn{padding:7px 14px;font-size:12px}
  .pager-info{font-size:12px;min-width:76px}
}

/* ---------- 网盘链接上方的居中小字说明 ---------- */
.dc-tip{display:block;text-align:center;font-size:12px;color:#8a93a0;background:#f7f9fc;border:1px dashed #e3e7ee;border-radius:8px;padding:7px 12px;margin:16px 0 12px;letter-spacing:.2px}
.dc-tip span{display:block}
.dc-tip-pass{margin-top:3px;color:#6b7480;font-weight:600}

/* ---------- 防骗警示框（block t=warn）---------
   强制规则见 scripts/docs-data.js 顶部 window.SITE_RULES.linkWarn：
   任何新增/修改的文章，只要正文含外链或网盘链接（t=link），
   必须在链接块之前插入一个 t=warn 块，连续链接只插一次。 */
.dc-warn{background:#fff1f0;border-left:4px solid #e5484d;color:#a3232b;border-radius:0 8px 8px 0;padding:10px 14px;font-size:14px;line-height:1.7;margin:16px 0 10px;font-weight:600;word-break:break-word}
.doc-warn{background:#fff1f0;border-left:4px solid #e5484d;color:#a3232b;border-radius:0 8px 8px 0;padding:10px 14px;font-size:14px;line-height:1.7;margin:16px 0 10px;font-weight:600;word-break:break-word}

/* ---------- 正文图片并排（2 张两列 / 3 张三列）+ 点击放大 ---------- */
.dc-shots{display:grid;gap:10px;margin:16px 0 22px;align-items:start}
.dc-shots[data-count="1"]{grid-template-columns:minmax(0,1fr)}
.dc-shots[data-count="2"]{grid-template-columns:repeat(2,minmax(0,1fr))}
.dc-shots[data-count="3"]{grid-template-columns:repeat(3,minmax(0,1fr))}
.dc-shots[data-count="4"]{grid-template-columns:repeat(4,minmax(0,1fr))}
.dc-shots[data-count="5"]{grid-template-columns:repeat(5,minmax(0,1fr))}
.dc-shot{margin:0;border-radius:10px;overflow:hidden;background:#f4f6f9;cursor:zoom-in;line-height:0;border:1px solid #eef0f3}
.dc-shot img{display:block;max-width:100%;height:auto}
.dc-shots[data-count="2"] .dc-shot img,.dc-shots[data-count="3"] .dc-shot img,
.dc-shots[data-count="4"] .dc-shot img,.dc-shots[data-count="5"] .dc-shot img{width:100%;height:auto;object-fit:cover}
.dc-shots[data-count="1"] .dc-shot{justify-self:center;max-width:100%}
.dc-shot:hover img{transform:scale(1.02)}
.dc-shot img{transition:transform .2s}
.img-lightbox{position:fixed;inset:0;z-index:200000;background:rgba(12,17,27,.9);display:flex;align-items:center;justify-content:center;padding:32px;animation:qrfade .18s ease;cursor:zoom-out}
.img-lightbox img{max-width:min(94vw,1400px);max-height:90vh;width:auto;height:auto;border-radius:10px;box-shadow:0 24px 70px rgba(0,0,0,.6);cursor:default}
.img-lightbox-close{position:absolute;top:24px;right:32px;width:44px;height:44px;border:0;border-radius:50%;background:rgba(255,255,255,.16);color:#fff;font-size:30px;line-height:1;cursor:pointer}
.img-lightbox-close:hover{background:rgba(255,255,255,.3)}

/* ---------- 感谢博主（网盘链接下方、版权声明上方） ---------- */
.dc-donate{margin:26px 0 0;padding:18px 16px 14px;background:#f8fafc;border:1px solid #eef0f3;border-radius:12px;text-align:center}
.dc-donate-title{font-size:14px;font-weight:700;color:#5a6472;margin:0 0 12px}
.dc-donate-grid{display:flex;gap:10px;justify-content:center;align-items:center;flex-wrap:nowrap;max-width:520px;margin:0 auto}
.dc-sticker{width:96px;max-width:96px;height:auto;flex:0 1 96px;min-width:0;pointer-events:none;user-select:none;-webkit-user-drag:none;opacity:.96}
.dc-donate .qr-item{flex:0 1 140px;max-width:140px;min-width:0}
.dc-donate .qr-item img{width:100%;aspect-ratio:1/1;object-fit:contain;background:#fff;border:1px solid #eef0f3;border-radius:8px;padding:4px;cursor:zoom-in;transition:transform .15s,box-shadow .15s}
.dc-donate .qr-item img:hover{transform:scale(1.04);box-shadow:0 6px 18px rgba(30,60,100,.14)}
.dc-donate-tip{font-size:12px;color:#9aa2b1;margin:12px 0 0}
@media(max-width:600px){
  .dc-sticker{width:70px}
  .dc-donate .qr-item{flex:0 1 106px;max-width:106px}
  .dc-sticker{width:70px;max-width:70px;flex:0 1 70px}
  .dc-donate-grid{gap:8px}
}
@media(max-width:420px){
  .dc-sticker{display:none}
  .dc-donate .qr-item{flex:0 1 110px;max-width:110px}
  .dc-donate-grid{gap:14px}
}

/* ---------- 分类页：大图标 + 大标题（不显示简介） ---------- */
.dc-hero{text-align:center;margin:0 0 14px}
.dc-hero img{width:120px;height:120px;object-fit:contain;margin:0 auto;display:block}
.dc-title-xl{font-size:30px;text-align:center;margin:0 0 24px;line-height:1.3}
/* ---------- 侧栏：全家桶系列入口 ---------- */
.promo-family{display:flex;align-items:center;gap:12px;background:#fff;border:1px solid #eef0f3;color:#1a2230;text-align:left;padding:12px 16px}
.promo-family:hover{border-color:#cfe0fa;background:#f7faff;filter:none;transform:translateY(-2px)}
.promo-ico{width:42px;height:42px;flex:none;border-radius:10px;background:#f4f6f9;display:flex;align-items:center;justify-content:center;padding:6px}
.promo-ico img{width:100%;height:100%;object-fit:contain;display:block}
.promo-txt{font-size:14px;font-weight:600;color:#1a2230}

/* ---------- 分类页里的子应用网格（像首页一样一格一个） ---------- */
.dc-appgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:14px;margin:4px 0 10px}
.dc-appcard{display:flex;flex-direction:column;align-items:center;gap:10px;padding:16px 10px;background:#fafbfc;border:1px solid #eef0f3;border-radius:12px;text-decoration:none;color:inherit;text-align:center;transition:transform .18s,box-shadow .18s,border-color .18s}
.dc-appcard:hover{transform:translateY(-3px);box-shadow:0 10px 26px rgba(20,30,50,.1);border-color:#cfe0fa}
.dc-appthumb{width:78px;height:78px;border-radius:16px;background:#fff;border:1px solid #eef0f3;display:flex;align-items:center;justify-content:center;padding:10px;overflow:hidden}
.dc-appthumb img{width:100%;height:100%;object-fit:contain;display:block}
.dc-apptitle{font-size:13px;font-weight:700;color:#1f2937;line-height:1.45;word-break:break-word}
@media(max-width:560px){
  .dc-appgrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .dc-appthumb{width:64px;height:64px;padding:8px}
  .dc-apptitle{font-size:12px}
}
