/* EP29: 베리와 루미의 대화 마법 스타일 (1280x720 16:9 반응형 표준) */

.ep29-dialogue-wrap {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin-top: 12px;
  display: flex;
  flex-direction: column;
}

@media (min-width: 769px) {
  .screen-container.ep29-split-screen .cinema-cut,
  .screen-container.ep29-result-screen .cinema-cut { width: calc(100% - 390px); }
  .screen-container.ep29-split-screen .cinema-cut.active,
  .screen-container.ep29-result-screen .cinema-cut.active { animation: none; transform: none; }
  .screen-container.ep29-split-screen .ep29-dialogue-wrap {
    position: absolute; z-index: 100; right: 10px; bottom: 12px;
    width: 370px; max-width: 370px; margin: 0;
  }
  .screen-container.ep29-result-screen .ep29-complete-wrap {
    position: absolute; z-index: 100; right: 10px; bottom: 12px;
    width: 370px; max-width: 370px; margin: 0;
  }
  .screen-container.ep29-result-screen .ep29-cert-card { padding: 12px; }
  .screen-container.ep29-result-screen .ep29-cert-header h3 { font-size: 16px; }
  .screen-container.ep29-result-screen .ep29-cert-desc { font-size: 12px; margin: 6px 0; }
  .screen-container.ep29-result-screen .ep29-juice-result { width: 48px; height: 48px; font-size: 30px; }
}

.ep29-dialogue-panel {
  background: rgba(20, 10, 35, 0.92);
  border: 2px solid #ec4899;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ep29-speaker-box {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 10px 12px;
  border-left: 4px solid #94a3b8;
}

.ep29-speaker-box.berry {
  border-left-color: #ec4899;
}

.ep29-speaker-box.lumi {
  border-left-color: #38bdf8;
}

.ep29-speaker-box.lumi.active {
  background: rgba(56, 189, 248, 0.15);
  border-left-color: #38bdf8;
}

.ep29-tag {
  font-size: 11px;
  font-weight: 800;
  color: #cbd5e1;
  display: block;
  margin-bottom: 4px;
}

.ep29-speaker-box p {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
  color: #f8fafc;
}

.ep29-cards-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 4px;
}

.ep29-card-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 8px 12px;
  color: #fff;
  font-size: 13px;
  font-weight: bold;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s;
}

.ep29-card-btn:hover {
  background: rgba(236, 72, 153, 0.3);
  border-color: #ec4899;
  transform: translateX(4px);
}

.ep29-card-btn.selected {
  background: #ec4899;
  border-color: #f472b6;
  box-shadow: 0 0 12px rgba(236, 72, 153, 0.6);
}

/* 완료 카드 */
.ep29-complete-wrap {
  width: 100%;
  max-width: 980px;
  margin: 16px auto 0;
}

.ep29-cert-card {
  background: linear-gradient(135deg, rgba(30, 15, 45, 0.95), rgba(15, 10, 25, 0.98));
  border: 2px solid #ec4899;
  border-radius: 18px;
  padding: 20px 24px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
}

.ep29-cert-header h3 {
  font-size: 20px;
  color: #f472b6;
  margin: 6px 0 4px;
}

.ep29-cert-desc {
  font-size: 14px;
  color: #cbd5e1;
  margin: 10px 0 16px;
}

.ep29-btn-replay {
  background: #475569;
  border: none;
  border-radius: 20px;
  color: #fff;
  padding: 8px 20px;
  font-weight: bold;
  cursor: pointer;
}

.ep29-juice-result {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  margin: 8px auto;
  font-size: 48px;
  border-radius: 50%;
  border: 2px solid white;
}
.ep29-juice-blue { background: #2563eb; }
.ep29-juice-yellow { background: #eab308; }
.ep29-juice-pink { background: #ec4899; }
