/* ==========================================================================
   Highlight badges — poster overlays (NEW / HOT / TRENDING / Sắp chiếu / Lồng tiếng)
   Loaded after styles.css, so it replaces the old top-right corner chip with
   the reference layout: a compact chip at the top-left of the artwork.
   ========================================================================== */
.badge{
  position:absolute;top:8px;left:8px;right:auto;
  padding:4px 9px;font-size:10.5px;font-weight:900;line-height:1;letter-spacing:.4px;
  color:#fff;text-transform:uppercase;white-space:nowrap;pointer-events:none;
  border-radius:7px;border-top-right-radius:7px;border-bottom-left-radius:7px;
  background:linear-gradient(135deg,#ff5f6d,#ff2e63);
  box-shadow:0 4px 12px rgba(0,0,0,.45),inset 0 1px 0 rgba(255,255,255,.18);
}
.badge.new{background:linear-gradient(135deg,#17c964,#0e9f6e)}
.badge.hot{background:linear-gradient(135deg,#ff5f6d,#ff2e63)}
.badge.trend{background:linear-gradient(135deg,#8b5cf6,#5b21b6)}
.badge.soon{background:linear-gradient(135deg,#8f6bff,#5a3fd6)}
.badge.dub{background:linear-gradient(135deg,#ff9f43,#ff5e62)}
.badge.compact{top:4px;left:4px;padding:2px 5px;font-size:8px;letter-spacing:.2px;border-radius:5px}

/* 58px thumbnail in My List / history rows */
.rowc-thumb{
  position:relative;flex:0 0 58px;width:58px;aspect-ratio:3/4;
  border-radius:10px;overflow:hidden;background:var(--card-2);
}
.rowc-thumb img{
  width:100%;height:100%;aspect-ratio:auto;border-radius:0;object-fit:cover;display:block;
}

/* 120px cover on the series detail screen */
.d-hero .cover-wrap{
  position:relative;flex:0 0 120px;width:120px;aspect-ratio:3/4;border-radius:var(--r);
  overflow:hidden;background:var(--card-2);border:1px solid var(--line);
  box-shadow:0 14px 34px rgba(0,0,0,.6);
}
.d-hero .cover-wrap .cover{
  width:100%;height:100%;aspect-ratio:auto;border-radius:0;border:none;box-shadow:none;
  object-fit:cover;display:block;
}
.d-hero .cover-wrap .badge{top:6px;left:6px;font-size:9.5px;padding:3px 7px}

/* Hero/For You kicker keeps its shape but takes the badge colour */
.hero-kicker.new,.fy .info .kick.new{background:linear-gradient(135deg,#17c964,#0e9f6e)}
.hero-kicker.hot,.fy .info .kick.hot{background:var(--g-hot)}
.hero-kicker.trend,.fy .info .kick.trend{background:linear-gradient(135deg,#8b5cf6,#5b21b6)}
