.live-entry-card {
  grid-column: 1 / -1;
  position: relative;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(210, 224, 239, .9);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(25, 61, 105, .11);
  cursor: pointer;
  isolation: isolate;
}

.live-entry-card.live-card-poster {
  display: block !important;
  height: auto !important;
  aspect-ratio: 2.05 / 1 !important;
}

.live-entry-card.live-card-poster .thumb {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  padding: 0 !important;
  background-position: center;
  background-size: cover;
}

.live-entry-card.live-card-poster .thumb::before {
  z-index: 1;
  background: linear-gradient(180deg, rgba(3, 18, 42, .08) 20%, rgba(3, 18, 42, .86) 100%) !important;
}

.live-entry-card.live-card-poster .thumb::after {
  display: none !important;
}

.live-entry-card .badge {
  position: absolute !important;
  top: 12px !important;
  right: auto !important;
  bottom: auto !important;
  left: 12px !important;
  z-index: 4;
}

.live-entry-card[data-live-status="live"] .badge {
  background: #f04444 !important;
  color: #fff !important;
}

.live-entry-card[data-live-status="preview"] .badge {
  background: rgba(31, 111, 235, .94) !important;
  color: #fff !important;
}

.live-poster-copy {
  position: absolute;
  z-index: 3;
  inset: auto 0 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 5px 14px;
  align-items: end;
  padding: 20px;
  color: #fff;
}

.live-poster-copy h3,
.live-entry-card.live-card-poster .card-title {
  display: -webkit-box;
  grid-column: 1;
  overflow: hidden;
  margin: 0;
  color: #fff;
  font-size: 22px;
  font-weight: 850;
  line-height: 1.25;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.live-expert-line {
  display: flex;
  min-width: 0;
  align-items: baseline;
  gap: 7px;
  color: inherit;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.35;
}

.live-expert-line span {
  overflow: hidden;
  color: inherit;
  font-size: 12px;
  font-weight: 500;
  opacity: .78;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.live-poster-copy .external-live-time {
  grid-column: 1;
  margin: 0;
  color: rgba(255, 255, 255, .84) !important;
  font-size: 12px;
  font-weight: 600;
}

.live-card-action {
  display: inline-flex;
  grid-column: 2;
  grid-row: 1 / span 3;
  min-width: 92px;
  min-height: 34px;
  align-items: center;
  align-self: end;
  justify-content: center;
  padding: 0 14px;
  border-radius: 999px;
  background: #1677ff;
  color: #fff;
  font-size: 13px;
  font-weight: 750;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(22, 119, 255, .24);
}

.live-entry-card[data-live-status="preview"] .live-card-action {
  background: rgba(255, 255, 255, .94);
  color: #1267e9;
  box-shadow: 0 8px 18px rgba(3, 18, 42, .16);
}

.live-entry-card.is-reserved .live-card-action {
  background: rgba(227, 239, 255, .96);
  color: #1e67c9;
}

.live-entry-card.live-card-split {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  height: auto !important;
  min-height: 164px !important;
  aspect-ratio: auto !important;
}

.live-entry-card.live-card-split .thumb {
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  padding: 0 !important;
  background-position: center;
  background-size: cover;
}

.live-entry-card.live-card-split .thumb::before {
  background: linear-gradient(180deg, rgba(3, 18, 42, .02), rgba(3, 18, 42, .24)) !important;
}

.live-entry-card.live-card-split .thumb::after {
  display: none !important;
}

.live-entry-card.live-card-split .body,
.live-entry-card.live-card-split .card-body {
  display: grid !important;
  grid-template-rows: auto auto auto auto minmax(8px, 1fr) auto;
  min-width: 0;
  align-content: stretch;
  gap: 5px;
  padding: 13px 16px 12px !important;
}

.live-entry-card.live-card-split .badge {
  position: static !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  display: inline-flex;
  width: fit-content;
  min-height: 22px;
  align-items: center;
  padding: 0 8px !important;
  border-radius: 6px !important;
  background: #eaf3ff !important;
  color: #176edb !important;
  font-size: 11px;
  line-height: 1;
  box-shadow: none !important;
}

.live-entry-card.live-card-split[data-live-status="live"] .badge {
  background: #e4f1ff !important;
  color: #0870de !important;
}

.live-entry-card.live-card-split[data-live-status="live"] .badge::before {
  width: 6px;
  height: 6px;
  margin-right: 5px;
  border-radius: 50%;
  background: #1683ff;
  content: "";
}

.live-entry-card.live-card-split h3,
.live-entry-card.live-card-split .card-title {
  display: -webkit-box;
  overflow: hidden;
  min-height: 0 !important;
  margin: 0;
  color: var(--deep, #092f63);
  font-size: 15px;
  font-weight: 850;
  line-height: 1.3;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.live-entry-card.live-card-split .live-expert-line {
  color: var(--muted, #607089);
}

.live-entry-card.live-card-split .external-live-time {
  margin: 0;
  color: var(--muted, #718198);
  font-size: 12px;
  line-height: 1.35;
}

.live-entry-card.live-card-split .live-card-action {
  grid-column: 1;
  grid-row: 6;
  box-sizing: border-box;
  width: 96%;
  min-width: 0;
  min-height: 31px;
  align-self: end;
  justify-self: center;
  margin: 3px 0 0;
  padding: 0 12px;
  border-radius: 7px;
  background: #edf5ff;
  color: #176fdc;
  box-shadow: none;
}

.live-entry-card.live-card-split[data-live-status="preview"] .live-card-action,
.live-entry-card.live-card-split[data-live-status="live"] .live-card-action {
  background: #edf5ff;
  color: #176fdc;
  box-shadow: none;
}

.live-entry-card.live-card-split.is-reserved .live-card-action {
  background: #f0f3f7;
  color: #65758a;
}

.live-entry-toast {
  position: fixed;
  z-index: 10020;
  left: 50%;
  bottom: calc(84px + env(safe-area-inset-bottom));
  max-width: min(86vw, 430px);
  padding: 11px 15px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 10px;
  background: rgba(8, 24, 46, .92);
  color: #fff;
  font-size: 13px;
  line-height: 1.45;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 10px);
  transition: opacity .2s ease, transform .2s ease;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .22);
  backdrop-filter: blur(14px);
}

.live-entry-toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

html[data-theme="dark"] .live-entry-card {
  border-color: rgba(122, 157, 201, .25);
  background: #101d30;
  box-shadow: 0 16px 36px rgba(0, 0, 0, .25);
}

html[data-theme="dark"] .live-entry-card.live-card-split h3,
html[data-theme="dark"] .live-entry-card.live-card-split .card-title {
  color: #f1f6ff;
}

html[data-theme="dark"] .live-entry-card.live-card-split .live-expert-line,
html[data-theme="dark"] .live-entry-card.live-card-split .external-live-time {
  color: #a9bad0;
}

html[data-theme="dark"] .live-entry-card.live-card-split .badge,
html[data-theme="dark"] .live-entry-card.live-card-split[data-live-status="live"] .badge {
  background: rgba(52, 132, 234, .18) !important;
  color: #8fc2ff !important;
}

html[data-theme="dark"] .live-entry-card.live-card-split .live-card-action,
html[data-theme="dark"] .live-entry-card.live-card-split[data-live-status="preview"] .live-card-action,
html[data-theme="dark"] .live-entry-card.live-card-split[data-live-status="live"] .live-card-action {
  background: rgba(55, 132, 229, .18);
  color: #9bc8ff;
}

html[data-theme="dark"] .live-entry-card.live-card-split.is-reserved .live-card-action {
  background: rgba(127, 148, 176, .14);
  color: #aebed2;
}

@media (max-width: 520px) {
  .live-poster-copy {
    gap: 4px 10px;
    padding: 14px;
  }

  .live-poster-copy h3,
  .live-entry-card.live-card-poster .card-title {
    font-size: 18px;
  }

  .live-entry-card.live-card-split {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    height: auto !important;
    min-height: 154px !important;
  }

  .live-entry-card.live-card-split .body,
  .live-entry-card.live-card-split .card-body {
    gap: 4px;
    padding: 10px 12px !important;
  }

  .live-entry-card.live-card-split h3,
  .live-entry-card.live-card-split .card-title {
    font-size: 14px;
  }

  .live-entry-card.live-card-split .live-card-action {
    width: 96%;
    min-height: 29px;
  }

  .live-card-action {
    min-width: 84px;
    min-height: 32px;
    padding: 0 12px;
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .live-entry-toast {
    transition: none;
  }
}
