/* ============================================
   Page-Specific Styles — index.html
   ============================================ */

/* ---- Live Card Hover Glow Enhancement ---- */
.live-card:hover .live-thumb .bg {
  filter: brightness(1.1);
  transition: filter .3s;
}

/* ---- Clip Card ---- */
.clip-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all .25s;
  cursor: pointer;
}
.clip-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-glow);
  box-shadow: var(--shadow);
}
.clip-thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.clip-thumb .bg {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 42px;
  transition: transform .4s;
}
.clip-card:hover .clip-thumb .bg {
  transform: scale(1.05);
}
.clip-duration {
  position: absolute;
  bottom: 8px;
  right: 8px;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  background: rgba(10,14,26,.85);
  color: #e2e8f0;
  backdrop-filter: blur(4px);
  letter-spacing: .5px;
}
.clip-info {
  padding: 10px 12px;
}
.clip-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
  line-height: 1.4;
}
.clip-meta {
  font-size: 12px;
  color: var(--text-dim);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ---- News Item (Horizontal) ---- */
a.news-item {
  display: flex !important;
  align-items: center;
  text-decoration: none;
}
.news-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  gap: 14px;
  padding: 12px;
  transition: all .25s;
  cursor: pointer;
  align-items: center;
}
.news-item:hover {
  background: var(--card-hover);
  border-color: var(--border-glow);
}
.news-img {
  width: 100px;
  min-width: 100px;
  height: 68px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  flex-shrink: 0;
  /* 关键补充：背景图样式 */
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;

}
.news-info {
  min-width: 0;
}
.news-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.news-desc {
  font-size: 12px;
  color: var(--text-dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---- Schedule Item ---- */
.schedule-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  transition: background .2s;
  cursor: pointer;
}
.schedule-item:hover {
  background: var(--card-hover);
}
.schedule-time {
  font-size: 13px;
  font-weight: 700;
  color: var(--cyan);
  min-width: 36px;
  text-align: center;
}
.schedule-match {
  font-size: 14px;
  font-weight: 600;
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.schedule-league {
  font-size: 11px;
  color: var(--text-dim);
}
.schedule-status {
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 10px;
  font-weight: 600;
  white-space: nowrap;
}
.status-live {
  background: rgba(0,255,136,.12);
  color: var(--green);
  border: 1px solid rgba(0,255,136,.25);
}
.status-upcoming {
  background: rgba(0,217,255,.08);
  color: var(--cyan);
  border: 1px solid rgba(0,217,255,.2);
}
.status-done {
  background: rgba(139,92,246,.08);
  color: var(--purple);
  border: 1px solid rgba(139,92,246,.2);
}

/* ---- Sport Tags ---- */
.sport-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 16px;
}
.sport-tag {
  padding: 7px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all .2s;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.03);
  color: var(--text-dim);
}
.sport-tag:hover {
  color: var(--text);
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.15);
}
.sport-tag.active {
  color: var(--cyan);
  background: rgba(0,217,255,.1);
  border-color: rgba(0,217,255,.3);
}

/* ---- Anchor Item ---- */
.anchor-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  transition: background .2s;
  cursor: pointer;
}
.anchor-item:hover {
  background: var(--card-hover);
}
.anchor-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  border: 2px solid var(--border);
}
.anchor-name {
  font-size: 13px;
  font-weight: 600;
}
.anchor-game {
  font-size: 11px;
  color: var(--text-dim);
}
.anchor-views {
  margin-left: auto;
  font-size: 11px;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 4px;
}
.anchor-views .dot-live {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 6px var(--green);
  animation: pulse 1.5s infinite;
}

/* ---- Match Status Min ---- */
.match-status {
  font-size: 13px;
  color: var(--green);
  font-weight: 700;
  margin-bottom: 4px;
}
.match-status .min {
  color: var(--green);
}

/* ---- Score Highlight ---- */
.live-info .score.soon {
  color: var(--text-dim);
  font-weight: 400;
  font-size: 13px;
}