.live-class-panel {
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid #dfe9ff;
  border-radius: 20px;
  background:
    radial-gradient(circle at 100% 0, rgba(91, 125, 250, .1), transparent 34%),
    linear-gradient(135deg, #f8faff, #fff);
  box-shadow: 0 14px 38px rgba(37, 61, 132, .08);
}

.live-class-panel-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.live-class-panel-heading h2 {
  margin: 10px 0 0;
  color: #19264b;
  font-size: clamp(23px, 3vw, 30px);
  font-weight: 800;
}

.live-class-target {
  color: #626d86;
  font-size: 13px;
  font-weight: 700;
}

.live-class-empty {
  padding: 14px 16px;
  border: 1px solid #e6eaf2;
  border-radius: 12px;
  color: #616b80;
  background: #fff;
  font-weight: 700;
}

.live-class-list {
  display: grid;
  gap: 12px;
}

.live-class-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px;
  border: 1px solid #e8ebf3;
  border-radius: 15px;
  background: #fff;
}

.live-class-details {
  min-width: 0;
}

.live-class-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 7px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.live-class-status.is-live {
  color: #128349;
}

.live-class-status.is-scheduled {
  color: #a76a0a;
}

.live-class-card h3 {
  margin: 0 0 8px;
  color: #222b40;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -.02em;
}

.live-class-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 15px;
  color: #697286;
  font-size: 12px;
}

.live-class-join {
  display: inline-flex;
  min-width: 190px;
  min-height: 46px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 10px 16px;
  border: 0;
  border-radius: 11px;
  color: #fff;
  background: #14864e;
  box-shadow: 0 6px 16px rgba(20, 134, 78, .2);
  font-size: 13px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  transition: background .18s ease, transform .18s ease;
}

.live-class-join:hover {
  transform: translateY(-1px);
  color: #fff;
  background: #0e7040;
}

.live-class-join:focus-visible {
  outline: 3px solid #4bbd7e;
  outline-offset: 3px;
}

.live-class-join.is-disabled,
.live-class-join.is-disabled:hover {
  cursor: not-allowed;
  color: #777f91;
  background: #e9ebf0;
  box-shadow: none;
  transform: none;
}

.live-class-pulse {
  position: relative;
  display: inline-block;
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #20c56e;
}

.live-class-pulse::after {
  position: absolute;
  inset: -4px;
  border: 2px solid rgba(32, 197, 110, .55);
  border-radius: 50%;
  content: "";
  animation: live-class-pulse 1.5s ease-out infinite;
}

@keyframes live-class-pulse {
  0% {
    transform: scale(.65);
    opacity: .9;
  }

  100% {
    transform: scale(1.7);
    opacity: 0;
  }
}

@media (max-width: 640px) {
  .live-class-card {
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
  }

  .live-class-join {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .live-class-join {
    transition: none;
  }

  .live-class-pulse::after {
    animation: none;
  }
}
