.grid.is-video-feed {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 11px;
}

.grid.is-video-feed .video-compact-card {
  display: grid;
  grid-template-columns: minmax(0, 43%) minmax(0, 1fr);
  min-width: 0;
  height: 98px;
  max-height: 98px;
  min-height: 98px;
  aspect-ratio: auto !important;
  overflow: hidden;
  border: 1px solid rgba(218, 229, 242, .92);
  border-radius: 14px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 12px 28px rgba(28, 72, 125, .09);
  cursor: pointer;
  outline: 0;
}

.grid.is-video-feed .video-compact-card:focus-visible {
  box-shadow: 0 0 0 3px rgba(18, 103, 255, .2), 0 12px 28px rgba(28, 72, 125, .09);
}

.grid.is-video-feed .video-cover {
  position: relative;
  width: 100%;
  height: 100%;
  max-height: 98px;
  min-height: 98px;
  overflow: hidden;
  background: #dce8f5;
  isolation: isolate;
}

.grid.is-video-feed .video-cover::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(4, 21, 48, .02) 42%, rgba(4, 21, 48, .3) 100%);
  content: "";
}

.grid.is-video-feed .video-cover img,
.grid.is-video-feed .video-cover-fallback {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.grid.is-video-feed .video-cover-fallback {
  background: url("admin-avatar.png") center / cover no-repeat;
}

.grid.is-video-feed .video-play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .78);
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  color: #174b8f;
  box-shadow: 0 9px 22px rgba(4, 25, 58, .24);
  transform: translate(-50%, -50%);
  backdrop-filter: blur(10px);
}

.grid.is-video-feed .video-play svg {
  width: 22px;
  height: 22px;
  margin-left: 2px;
}

.grid.is-video-feed .video-type-badge {
  position: absolute;
  right: 7px;
  bottom: 7px;
  z-index: 2;
  padding: 3px 6px;
  border-radius: 5px;
  background: rgba(10, 34, 69, .76);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  backdrop-filter: blur(8px);
}

.grid.is-video-feed .video-compact-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  height: 100%;
  overflow: hidden;
  padding: 9px 12px;
}

.grid.is-video-feed .card-title {
  display: -webkit-box;
  overflow: hidden;
  min-height: 0;
  color: #153052;
  font-size: 15px;
  line-height: 1.4;
  letter-spacing: var(--title-letter-spacing);
  font-weight: 850;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.grid.is-video-feed .video-tags {
  display: flex;
  align-items: center;
  gap: 5px;
  width: 100%;
  min-height: 18px;
  margin-top: 5px;
  overflow: hidden;
  white-space: nowrap;
}

.grid.is-video-feed .video-tags.is-empty {
  display: none;
}

.grid.is-video-feed .video-tag {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  min-height: 18px;
  max-width: 100%;
  padding: 0 6px;
  overflow: hidden;
  border-radius: 5px;
  background: #edf5ff;
  color: #31649d;
  font-size: 9.5px;
  font-weight: 800;
  line-height: 1;
  text-overflow: ellipsis;
}

.grid.is-video-feed .video-meta {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  justify-content: flex-start;
  width: 100%;
  margin-top: 6px;
  color: #778aa3;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}

.grid.is-video-feed .video-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
  white-space: nowrap;
}

.grid.is-video-feed .video-meta-item svg {
  width: 14px;
  height: 14px;
}

.grid.is-video-feed .video-meta-divider {
  width: 1px;
  height: 11px;
  background: #d7e1ed;
}

html[data-theme="dark"] .grid.is-video-feed .video-compact-card {
  border-color: rgba(105, 135, 174, .24);
  background: #111e31;
  box-shadow: 0 18px 38px rgba(0, 0, 0, .25);
}

html[data-theme="dark"] .grid.is-video-feed .card-title {
  color: #f2f7ff;
}

html[data-theme="dark"] .grid.is-video-feed .video-meta {
  color: #9fb1c8;
}

html[data-theme="dark"] .grid.is-video-feed .video-meta-divider {
  background: rgba(147, 169, 198, .28);
}

html[data-theme="dark"] .grid.is-video-feed .video-tag {
  background: rgba(73, 130, 200, .18);
  color: #b9d7ff;
}

html[data-theme="dark"] .grid.is-video-feed .video-play {
  border-color: rgba(185, 211, 247, .36);
  background: rgba(15, 31, 53, .9);
  color: #d7e8ff;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .34);
}

@media (max-width: 360px) {
  .grid.is-video-feed .video-compact-card {
    grid-template-columns: minmax(0, 42%) minmax(0, 1fr);
    height: 94px;
    max-height: 94px;
    min-height: 94px;
  }

  .grid.is-video-feed .video-cover {
    max-height: 94px;
    min-height: 94px;
  }

  .grid.is-video-feed .video-compact-copy {
    padding: 11px 12px;
  }

  .grid.is-video-feed .card-title {
    font-size: 14px;
  }
}
