/* 今日更新 / 新片上线页：对齐评审图 16–18 的横幅、胶囊页签与六列卡片。 */

.updates-page {
  max-width: 1400px;
  margin: 0 auto;
}

.upd-hero {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  min-height: 148px;
  padding: 28px 36px 30px;
  background:
    linear-gradient(90deg, #111a29 0%, #121826 58%, #1a1418 100%);
}

.upd-hero-orb {
  position: absolute;
  right: 7%;
  top: 50%;
  width: 240px;
  height: 240px;
  transform: translate(28%, -50%);
  border-radius: 50%;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 50%,
      rgba(232, 140, 40, .28) 0%,
      rgba(180, 90, 20, .16) 32%,
      rgba(80, 40, 16, 0) 68%);
  box-shadow:
    0 0 0 1px rgba(232, 150, 60, .22),
    0 0 0 28px rgba(200, 110, 30, .06),
    0 0 0 29px rgba(232, 150, 60, .16),
    0 0 0 58px rgba(200, 110, 30, .04),
    0 0 0 59px rgba(232, 150, 60, .1),
    0 0 72px 16px rgba(200, 100, 20, .12);
}

.upd-hero-body { position: relative; z-index: 1; max-width: 720px; }
.upd-kicker {
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--acc);
  text-transform: uppercase;
  font-weight: 700;
  margin: 0 0 8px;
}
.upd-hero h1 {
  margin: 0 0 8px;
  font-size: 28px;
  font-weight: 650;
  letter-spacing: .02em;
  color: #fff;
  line-height: 1.2;
}
.upd-hero p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

.upd-tabs {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0 16px;
  flex-wrap: wrap;
}
.upd-tabs a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  padding: 0 16px;
  border-radius: 17px;
  font-size: 13px;
  color: #c4c6cc;
  background: transparent;
  line-height: 1;
}
.upd-tabs a:hover { color: #fff; }
.upd-tabs a.on {
  background: var(--acc);
  color: var(--acc-text);
  font-weight: 700;
}
.upd-tabs a.on:hover { color: var(--acc-text); filter: brightness(1.05); }

.upd-note {
  margin: -4px 0 14px;
  font-size: 13px;
  color: var(--muted);
}

.upd-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 20px 18px;
}
@media (max-width: 1024px) { .upd-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (max-width: 899px)  { .upd-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 640px)  { .upd-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 12px; } }
@media (max-width: 420px)  { .upd-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.upd-card {
  display: block;
  min-width: 0;
  color: var(--text);
}
.upd-card:hover { color: #fff; }
.upd-card:hover .upd-cover { box-shadow: 0 8px 18px rgba(0, 0, 0, .45); }

.upd-cover {
  position: relative;
  padding-top: 133%;
  border-radius: 8px;
  overflow: hidden;
  background: #22242c;
}
.upd-cover img,
.upd-ph {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.upd-ph {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  font-weight: 800;
  color: #ffffff55;
  background: linear-gradient(160deg, #2a3040, #3a2a48);
}
.upd-shade {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 42%;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(transparent, rgba(0, 0, 0, .82));
}

.upd-badge {
  position: absolute;
  left: 6px;
  bottom: 8px;
  z-index: 2;
  background: #e27107;
  color: #fff;
  font-size: 11px;
  font-weight: 650;
  line-height: 1;
  padding: 4px 7px;
  border-radius: 4px;
  max-width: calc(50% - 4px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.upd-ep {
  position: absolute;
  right: 8px;
  bottom: 8px;
  z-index: 2;
  max-width: calc(58% - 4px);
  color: #fff;
  font-size: 12px;
  line-height: 1.2;
  text-align: right;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .85);
}

.upd-title {
  margin: 8px 0 2px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.upd-meta {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.upd-score {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  color: #e8922a;
  font-size: 13px;
  font-weight: 650;
  line-height: 1;
}
.upd-score i {
  width: 8px;
  height: 8px;
  background: currentColor;
  transform: rotate(45deg);
  display: inline-block;
  flex: 0 0 auto;
}

.upd-empty {
  color: var(--muted);
  font-size: 13px;
  padding: 48px 12px;
  text-align: center;
}

@media (max-width: 640px) {
  .upd-hero { padding: 22px 18px; min-height: 128px; border-radius: 12px; }
  .upd-hero h1 { font-size: 22px; }
  .upd-hero-orb { width: 160px; height: 160px; right: 0; opacity: .85; }
}
