/* Camera-off interview: real room photography, static portrait, audio-driven UI. */
.participant-card {
  position: absolute;
  top: 23.7%;
  left: 50%;
  transform: translateX(-50%);
  width: min(466px, calc(100% - 72px));
  height: clamp(220px, 32.23vh, 330px);
  padding: clamp(18px, 3.9vh, 40px) 28px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #252a34;
  color: #fff;
  border: 1.5px solid #7e8794;
  border-radius: 22px;
  box-shadow: 0 12px 36px #17202a18;
}
.participant-avatar {
  width: clamp(96px, 15.625vh, 160px);
  height: clamp(96px, 15.625vh, 160px);
  flex-shrink: 0;
  border-radius: 50%;
  border: 3px solid #747b8d;
  padding: 5px;
  transition: border-color .25s, box-shadow .25s;
}
.participant-photo {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 50%;
}
.participant-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 42%;
  transform: scale(1.3);
  transform-origin: center 40%;
}
.participant-name {
  margin: clamp(10px, 1.56vh, 16px) 0 0;
  font-size: clamp(17px, 2.35vh, 24px);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0;
  white-space: nowrap;
}
.camera-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 12px;
  color: #b8bcc6;
  font-size: clamp(13px, 1.67vh, 17px);
  line-height: 1.6;
}
.camera-status svg { width: 24px; height: 24px; }
.participant-speaker {
  position: absolute;
  right: 23px;
  top: 23px;
  color: #d3d7e1;
  opacity: .35;
  transition: opacity .2s;
}
.participant-speaker svg { width: 24px; height: 24px; }
.participant-card[data-state="speaking"] .participant-avatar {
  border-color: #6b7aff;
  box-shadow: 0 0 0 8px #6265f51c;
  animation: participant-speaking 1.2s ease-in-out infinite alternate;
}
.participant-card[data-state="speaking"] .participant-speaker { opacity: 1; color: #fff; }
.participant-card[data-state="paused"] .participant-avatar { border-color: #616674; }
.participant-card[data-state="loading"] .participant-speaker { opacity: .6; }
.wave:not(.speaking):not(.listening) i { transform: scaleY(.12); }
.check-room {
  display: grid;
  place-items: center;
  background-image: url('assets/room-empty-desktop-v3.png');
  background-position: center 45%;
}
.check-room-participant {
  width: 142px;
  padding: 12px 15px;
  background: #252a34;
  border: 1px solid #9399a5;
  color: #fff;
  border-radius: 10px;
  text-align: center;
  font-size: 12px;
}
.check-room-participant img {
  display: block;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  margin: 0 auto 7px;
  object-fit: cover;
}
.check-room-participant small { display: block; font-size: 10px; color: #b8bcc6; margin-top: 3px; }
@keyframes participant-speaking {
  from { box-shadow: 0 0 0 6px #6265f51c; }
  to { box-shadow: 0 0 0 11px #6265f526; }
}
@media (max-width: 700px) {
  .participant-card {
    top: 24.7%;
    width: min(286px, calc(100% - 72px));
    height: 212px;
    padding: 26px 18px 18px;
    border-radius: 16px;
  }
  .participant-avatar { width: 94px; height: 94px; border-width: 2px; padding: 4px; }
  .participant-name { font-size: 17px; margin-top: 12px; }
  .camera-status { font-size: 13px; gap: 8px; margin-top: 10px; }
  .camera-status svg { width: 19px; height: 19px; }
  .participant-speaker { top: 16px; right: 16px; }
  .participant-speaker svg { width: 18px; height: 18px; }
}
@media (max-height: 760px) and (max-width: 700px) {
  .participant-card { top: 21%; height: 198px; }
  .participant-avatar { width: 84px; height: 84px; }
  .participant-name { font-size: 16px; margin-top: 10px; }
  .camera-status { font-size: 12px; margin-top: 8px; }
}
@media (max-height: 440px) and (min-width: 701px) {
  .participant-card { top: 23%; width: 310px; height: 163px; padding: 16px; border-radius: 14px; }
  .participant-avatar { width: 68px; height: 68px; border-width: 2px; padding: 3px; }
  .participant-name { font-size: 15px; margin-top: 9px; }
  .camera-status { font-size: 11px; margin-top: 7px; }
  .camera-status svg { width: 17px; height: 17px; }
  .participant-speaker { top: 14px; right: 14px; }
  .participant-speaker svg { width: 18px; height: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .participant-card .participant-avatar { animation: none; transition: none; }
}
