/* =========================
   SPEAKER CARD
========================= */
.wkvn-speaker {
  text-align: center;
  margin-bottom: 40px;
}

.wkvn-avatar {
  position: relative;
  display: inline-block;
}

.wkvn-avatar img {
  max-width: 250px;
  height: auto;
  border-radius: 20px;
  display: block;
}

/* =========================
   VIDEO THUMB OVER AVATAR
========================= */
.wkvn-video-list {
  position: absolute;
  left: 50%;
  bottom: -28px;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 2;
}

.wkvn-video-thumb {
  width: 90px;
  height: 68px;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  background: #000;
}

.wkvn-video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Play icon */
.wkvn-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wkvn-play::before {
  content: '';
  width: 0;
  height: 0;
  border-left: 16px solid #fff;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  margin-left: 4px;
}

/* =========================
   NAME + TITLE
========================= */
.wkvn-name {
  margin-top: 56px;
  font-size: 28px;
  font-weight: 600;
}

.wkvn-title {
  font-size: 18px;
  color: #666;
  margin-top: 6px;
}

/* =========================
   VIDEO MODAL
========================= */
.wkvn-video-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
}

.wkvn-video-modal.is-open {
  display: block;
}

/* Backdrop */
.wkvn-video-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.8);
}

/* Wrapper */
.wkvn-video-wrapper {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

/* Video box */
.wkvn-video-box {
  width: min(90vw, 960px);
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  pointer-events: auto;
}

/* iframe */
.wkvn-video-box iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Close button */
.wkvn-video-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  border: none;
  cursor: pointer;
  z-index: 10;

  display: flex;
  align-items: center;
  justify-content: center;
}

.wkvn-video-close:hover {
  background: rgba(0, 0, 0, 0.85);
}