/* ============================================================
   HKTV - 電視頻道列表頁（海报卡式）
   设计系统：--red #a6192e / --red2 #c5283d / --gold #bd9a58
   ============================================================ */

/* ---------- Hero ---------- */
.chs-hero {
  background: linear-gradient(110deg, #761124, var(--red) 58%, #c23242);
  border-radius: 15px;
  padding: 29px 34px;
  color: #fff;
  position: relative;
  overflow: hidden;
  min-height: 150px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 13px 30px rgba(128, 21, 41, .20);
}
.chs-hero:after {
  content: "";
  position: absolute;
  width: 280px; height: 280px;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 50%;
  right: 12%; top: -160px;
  box-shadow: 0 0 0 24px rgba(255, 255, 255, .05), 0 0 0 50px rgba(255, 255, 255, .03);
}
.chs-hero-copy { position: relative; z-index: 1; }
.chs-hero h1 { font-size: 28px; margin: 10px 0 8px; }
.chs-hero p { font-size: 12.5px; color: #ffe8e9; margin: 0; line-height: 1.75; }
.chs-hero-count { position: relative; z-index: 1; text-align: right; font-size: 11px; color: rgba(255, 255, 255, .85); line-height: 1.8; }
.chs-hero-count strong { display: block; font-size: 28px; color: #fff; }

/* ---------- Toolbar ---------- */
.chs-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin: 21px 0 8px; }
.chs-filters { display: flex; align-items: center; gap: 7px; overflow-x: auto; padding-bottom: 3px; }
.chs-filter {
  flex: 0 0 auto; padding: 8px 15px; border: 1px solid var(--line); background: #fff;
  color: #60646b; border-radius: 18px; font-size: 11.5px; font-weight: 750; cursor: pointer;
}
.chs-filter.active, .chs-filter:hover { background: var(--red); color: #fff; border-color: var(--red); }
.chs-searchbox { min-width: 230px; display: flex; border: 1px solid var(--line); background: #fff; border-radius: 8px; overflow: hidden; }
.chs-searchbox input { width: 100%; border: 0; outline: 0; padding: 10px 12px; font-size: 12px; }
.chs-searchbox button { border: 0; border-left: 1px solid var(--line); background: #fff; color: var(--red); padding: 0 14px; font-weight: 800; cursor: pointer; font-size: 12px; }

/* ---------- Section head ---------- */
.chs-section-head { display: flex; align-items: end; justify-content: space-between; margin: 22px 0 13px; }
.chs-section-head h2 { font-size: 17px; margin: 0; }
.chs-section-head p { font-size: 11px; color: var(--muted); margin: 5px 0 0; }

/* ---------- 海报卡网格 ---------- */
.chs-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; }
.chs-card {
  background: #fff; border: 1px solid var(--line); border-radius: 11px; overflow: hidden;
  transition: .2s; display: block;
}
.chs-card:hover { transform: translateY(-3px); border-color: #d6a0a7; box-shadow: 0 9px 25px rgba(49, 19, 25, .08); }

.chs-poster {
  height: 124px; position: relative; display: grid; place-items: center; overflow: hidden;
  background: radial-gradient(ellipse at 75% 26%, #d8a16d, #a63f43 34%, #242d40 82%);
}
.chs-poster.alt1 { background: radial-gradient(ellipse at 70% 25%, #e3b96f, #447b82 40%, #172936 85%); }
.chs-poster.alt2 { background: radial-gradient(ellipse at 70% 25%, #d47b53, #673c56 42%, #202638 85%); }
.chs-poster.alt3 { background: radial-gradient(ellipse at 70% 25%, #e2b57b, #976d48 40%, #222a34 85%); }
.chs-poster.alt4 { background: radial-gradient(ellipse at 70% 25%, #a5bbc0, #416675 45%, #172532 85%); }
.chs-poster.alt5 { background: radial-gradient(ellipse at 70% 25%, #db7d62, #922f42 40%, #182435 85%); }

.chs-poster-logo {
  position: relative; z-index: 1; border: 1px solid rgba(255, 255, 255, .65); color: #fff;
  border-radius: 7px; padding: 9px 12px; font-size: 15px; font-weight: 900; letter-spacing: .04em;
  text-shadow: 0 2px 5px rgba(0, 0, 0, .35); box-shadow: 0 5px 18px rgba(0, 0, 0, .12);
  background: rgba(0, 0, 0, .10);
}
.chs-poster-img {
  position: relative; z-index: 1; max-width: 82%; max-height: 62%; object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .35));
}
.chs-live {
  position: absolute; z-index: 2; left: 10px; top: 10px; background: #d3253e; color: #fff;
  border-radius: 4px; padding: 5px 7px; font-size: 8px; font-weight: 850; letter-spacing: .06em;
}

.chs-body { padding: 12px 13px 13px; }
.chs-title { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.chs-title b { font-size: 12.5px; }
.chs-heart { font-size: 16px; color: #a5a7ab; cursor: pointer; line-height: 1; }
.chs-heart.saved { color: var(--red); }
.chs-meta { font-size: 9px; color: var(--muted); margin-top: 6px; }
.chs-tag { font-size: 8px; background: #f4f4f5; color: #737780; padding: 4px 6px; border-radius: 4px; }
.chs-now {
  display: flex; align-items: center; gap: 6px; margin-top: 11px; border-top: 1px solid #f0f0f0;
  padding-top: 9px; font-size: 9px; color: #555;
}
.chs-dot { width: 6px; height: 6px; border-radius: 50%; background: #30a46c; flex-shrink: 0; }
.chs-now strong { color: var(--red); font-weight: 750; }
.chs-now em { margin-left: auto; color: #9a9da3; font-style: normal; }

.chs-empty { display: none; background: #fff; border: 1px solid var(--line); padding: 28px; text-align: center; border-radius: 10px; font-size: 12px; color: var(--muted); margin-top: 15px; }

/* ---------- 下载横幅 ---------- */
.chs-promo {
  background: #fff; border: 1px solid var(--line); border-radius: 11px; padding: 17px 19px;
  margin-top: 23px; display: flex; justify-content: space-between; align-items: center; gap: 14px;
}
.chs-promo b { font-size: 13.5px; }
.chs-promo p { font-size: 11px; color: var(--muted); margin: 5px 0 0; }
.chs-promo a {
  background: var(--red); color: #fff; padding: 11px 15px; border-radius: 7px;
  font-size: 11px; font-weight: 800; white-space: nowrap;
}
.chs-promo a:hover { background: var(--red2); }

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  .chs-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .chs-poster { height: 115px; }
}
@media (max-width: 650px) {
  .chs-hero { min-height: 142px; padding: 22px 19px; border-radius: 14px; }
  .chs-hero h1 { font-size: 23px; }
  .chs-hero p { font-size: 10.5px; max-width: 270px; }
  .chs-hero-count { display: none; }
  .chs-toolbar { align-items: stretch; flex-direction: column; margin: 14px 0 4px; }
  .chs-filters { padding-bottom: 3px; }
  .chs-filter { padding: 8px 13px; }
  .chs-searchbox { min-width: 0; }
  .chs-section-head { margin: 20px 0 12px; }
  .chs-section-head h2 { font-size: 15px; }
  .chs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .chs-poster { height: 104px; }
  .chs-body { padding: 10px; }
  .chs-title b { font-size: 11.5px; }
  .chs-meta { font-size: 8px; }
  .chs-now { font-size: 8px; gap: 4px; }
  .chs-promo { align-items: flex-start; flex-direction: column; padding: 14px; }
  .chs-promo a { align-self: stretch; text-align: center; }
}
