/* ── cat-official.css · 官方分类 panel ──
   1:1 复刻旧项目 .off-banner 系列 CSS，仅命名加 v2- 前缀，CSS 数值不变。
   imgUrl 为空 → 渲染 v2-off-banner__img-ph（纯渐变色块占位，无文字）
*/

.v2-cat-official {
  display: none;
  padding: 10px 14px 24px;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
}
.v2-cat-official.v2-cat-official--show {
  display: block;
  animation: v2CatOfficialFadeIn 0.28s ease-out;
}
@keyframes v2CatOfficialFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.v2-cat-official__list { display: flex; flex-direction: column; min-width: 0; }
.v2-cat-official__empty { text-align: center; padding: 32px 16px; color: rgba(255,255,255,0.38); font-size: 13px; }

.v2-off-banner {
  display: block;
  border-radius: 16px;
  margin-bottom: 12px;
  overflow: hidden;
  cursor: pointer;
  background: transparent;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.07);
  text-decoration: none;
  color: inherit;
  -webkit-tap-highlight-color: transparent;
}
.v2-off-banner:last-child { margin-bottom: 0; }

.v2-off-banner__img {
  width: 100%; display: block; aspect-ratio: 2.5/1; object-fit: cover;
}
.v2-off-banner__img-ph {
  width: 100%; aspect-ratio: 2.5/1;
  background: linear-gradient(120deg, #0d1f44, #1a3a8a);
}
.v2-off-banner__body {
  padding: 14px 16px 16px;
  background: linear-gradient(180deg, #13151f 0%, #0e1018 100%);
}
.v2-off-banner__title {
  font-size: 16px; font-weight: 800; color: #fff;
  line-height: 1.3; margin: 0 0 8px 0;
}
.v2-off-banner__row {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.v2-off-banner__sub {
  font-size: 12px; color: rgba(255,255,255,0.5);
  letter-spacing: 0.2px; flex: 1; min-width: 0;
}
.v2-off-banner__btn {
  flex-shrink: 0; display: inline-block;
  background: linear-gradient(135deg, #ff3b6b, #ff5e3a);
  color: #fff; font-size: 12px; font-weight: 700;
  padding: 8px 22px; border-radius: 99px;
  letter-spacing: 0.3px; box-shadow: 0 2px 10px rgba(255,59,107,0.35);
  pointer-events: none;
}
