/* 列表卡片样式（与首页一致） */
/* 列表卡片图：4:3，无圆角 */
.card-img-150{
  position:relative;
  overflow:hidden;
  aspect-ratio: 4 / 3;
}
.card-img-150 img,
.card .card-img-top{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  border-radius:0 !important;
}
@supports not (aspect-ratio: 1 / 1){
  .card-img-150::before{ content:""; display:block; padding-top:75%; }
  .card-img-150 > .img-link{ position:absolute; inset:0; }
  .card-img-150 img{ position:absolute; inset:0; height:100%; }
}
.clamp-2{
  display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2;
  overflow:hidden; line-height:1.6; min-height:calc(1.6em * 2);
}
.card-tags{ margin-top:2px; display:flex; gap:6px; flex-wrap:wrap; }
.card-tags .badge{ font-size:12px; }
.card-meta{ border-top:1px dashed #e2e8f0; padding-top:8px; margin-top:8px; }

/* ====== 搜索弹窗样式（窄、去上下线、内容垂直居中） ====== */
#searchAlert .modal-dialog{ max-width:250px; }          /* 想更窄可改 380px */
#searchAlert .modal-content{ border-radius:10px; }
#searchAlert .modal-header,
#searchAlert .modal-footer{ border:0; }                 /* 去掉上下两根线 */
#searchAlert .modal-title{ font-size:16px; }
#searchAlert .modal-body{
  display:flex; align-items:center; gap:8px;             /* 图标+文本垂直居中 */
  padding:16px 18px;
}
#searchAlert .modal-body .warn{ font-size:22px; color:#f0ad4e; line-height:1; }
@media (max-width:575.98px){ #searchAlert .modal-dialog{ margin:.5rem; } }

