.sm-poster { display: block; overflow: hidden; }
.sm-poster .picture, .sm-poster img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.sm-card-title {
  display: -webkit-box;
  overflow: hidden;
  color: #fff;
  text-decoration: none;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.sm-card-face {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 16px;
  background: #1d1e20;
}
.sm-poster { width: 100%; height: 260px; border-radius: 8px 8px 0 0; }
.sm-card-title {
  height: 48px;
  margin-top: 16px;
  padding: 0 12px;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  transition: opacity .5s;
}
.sm-hover {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  height: 85%;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  backdrop-filter: blur(10px);
  background: linear-gradient(transparent, rgba(0,0,0,.15) 60%, rgba(0,0,0,.15) 86.76%);
  -webkit-mask-image: linear-gradient(transparent 0, #000 40%, #000 100%);
  mask-image: linear-gradient(transparent 0, #000 40%, #000 100%);
  transition: opacity .5s;
}
.sm-hover a { pointer-events: auto; }
.sm-hover-body { position: absolute; inset: auto 0 0; padding: 16px 8px; }
.sm-hover-title {
  display: -webkit-box;
  overflow: hidden;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 20px;
  text-decoration: none;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.sm-chips { display: flex; flex-wrap: wrap; gap: 4px; margin: 4px 0; }
.sm-chips span {
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(255,255,255,.1);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
}
.sm-blurb {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  opacity: .7;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}
.sm-mini-play {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: max-content;
  height: 32px;
  margin: 16px auto 0;
  padding: 0 20px;
  border-radius: 100px;
  background: #fff;
  color: #111218;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  text-decoration: none;
}
.sm-mini-play svg { width: 12px; height: 12px; fill: #111218; }
@media (hover: hover) and (pointer: fine) {
  .sm-card { z-index: 1; transition: transform .4s; }
  :where(body:not([data-sm-device="mobile"])) .sm-card:is(:hover, :focus-within) {
    transform: scale(1.15);
    z-index: 10;
    border-radius: 20px;
    box-shadow: 0 9.583px 57.5px 0 rgba(52, 52, 52, .96);
  }
  :where(body:not([data-sm-device="mobile"])) .sm-card:is(:hover, :focus-within) .sm-card-face { border-radius: 20px; }
  :where(body:not([data-sm-device="mobile"])) .sm-card:is(:hover, :focus-within) .sm-card-title { opacity: 0; }
  :where(body:not([data-sm-device="mobile"])) .sm-card:is(:hover, :focus-within) .sm-hover { visibility: visible; opacity: 1; }
}
