/* HardAsk V1.0 · 模拟面试会议式工作台 */

html:not(.react-student-embedded) body[data-active-panel="interview"]:not(.interview-meeting-active) .main.main {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  grid-template-rows: auto minmax(0, 1fr) !important;
  width: 100% !important;
  max-width: none !important;
  padding: 0 24px 40px !important;
  overflow-x: clip !important;
}

html:not(.react-student-embedded) body[data-active-panel="interview"]:not(.interview-meeting-active) .main.main > .topbar,
html:not(.react-student-embedded) body[data-active-panel="interview"]:not(.interview-meeting-active) .panel[data-panel="interview"].active {
  grid-column: 1 !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
}

html:not(.react-student-embedded) body[data-active-panel="interview"]:not(.interview-meeting-active) .panel[data-panel="interview"].active {
  padding: 0 !important;
}

html:not(.react-student-embedded) body[data-active-panel="interview"]:not(.interview-meeting-active) .interview-space-shell {
  display: grid !important;
  gap: 16px !important;
  width: 100% !important;
  max-width: 1480px !important;
  margin: 0 auto !important;
  padding: 22px 0 42px !important;
}

.interview-meeting-lobby {
  display: grid;
  gap: 14px;
  width: 100%;
  min-width: 0;
}

.interview-meeting-lobby-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: 0 2px;
}

.interview-meeting-lobby-head > div:first-child {
  display: grid;
  gap: 4px;
}

.interview-meeting-lobby-head .eyebrow {
  margin: 0;
  color: #246df3 !important;
  font-size: 10px !important;
  font-weight: 900;
  letter-spacing: .14em;
}

.interview-meeting-lobby-head h2 {
  margin: 0;
  color: #101828;
  font-size: clamp(26px, 2.5vw, 38px);
  font-weight: 920;
  letter-spacing: -.045em;
}

.interview-meeting-lobby-head > div:first-child > span {
  color: #718096;
  font-size: 13px;
  font-weight: 650;
}

.interview-meeting-lobby-status {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid #dce5f2;
  border-radius: 12px;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 8px 24px rgba(47, 64, 93, .06);
}

.interview-meeting-lobby-status i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #28b67a;
  box-shadow: 0 0 0 5px rgba(40, 182, 122, .12);
}

.interview-meeting-lobby-status span,
.interview-meeting-lobby-status strong {
  color: #536176;
  font-size: 11px;
  font-style: normal;
  font-weight: 760;
  white-space: nowrap;
}

.interview-meeting-lobby-status strong {
  padding-left: 8px;
  color: #1e2b3e;
  border-left: 1px solid #dce5f2;
}

.interview-lobby-mode-bar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 6px;
  border: 1px solid #dde5f0;
  border-radius: 15px;
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 12px 30px rgba(45, 57, 80, .05);
}

.interview-lobby-mode-bar .interview-final-mode-option {
  grid-template-columns: auto minmax(0, 1fr) auto;
  min-height: 56px;
  padding: 9px 12px;
  border-color: transparent;
  border-radius: 11px;
  background: transparent;
  box-shadow: none;
}

.interview-lobby-mode-bar .interview-final-mode-option:hover {
  transform: none;
  border-color: #dfe5ee;
  background: #f7f9fc;
  box-shadow: none;
}

.interview-lobby-mode-bar .interview-final-mode-option.is-active {
  border-color: rgba(73, 105, 238, .22);
  background: linear-gradient(135deg, #eef4ff, #f4f1ff);
  box-shadow: 0 6px 16px rgba(74, 92, 170, .08);
}

.interview-lobby-mode-bar .interview-final-mode-option > i {
  width: 30px;
  height: 30px;
  border-radius: 9px;
}

.interview-lobby-mode-bar .interview-final-mode-option strong {
  font-size: 12px;
}

.interview-lobby-mode-bar .interview-final-mode-option small,
.interview-lobby-mode-bar .interview-final-mode-option > em {
  font-size: 8px;
}

.interview-meeting-lobby-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.62fr) minmax(320px, .78fr);
  gap: 14px;
  min-width: 0;
  min-height: 570px;
}

.interview-lobby-interviewer,
.interview-lobby-side > section,
.interview-lobby-mode-brief {
  border: 1px solid #dce4ef;
  background: #fff;
  box-shadow: 0 18px 46px rgba(39, 52, 75, .07);
}

.interview-lobby-interviewer {
  display: grid;
  grid-template-rows: minmax(330px, 1fr) auto;
  min-width: 0;
  overflow: hidden;
  border-radius: 20px;
}

.interview-lobby-video {
  position: relative;
  display: grid;
  min-height: 330px;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 8%, rgba(108, 128, 255, .28), transparent 38%),
    linear-gradient(150deg, #141b2e 0%, #1b2640 56%, #263159 100%);
}

.interview-lobby-video::after {
  position: absolute;
  inset: auto 0 0;
  height: 44%;
  background: linear-gradient(transparent, rgba(8, 13, 25, .76));
  content: "";
  pointer-events: none;
}

.interview-lobby-video > img {
  width: min(48%, 340px);
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center;
  overflow: hidden;
  border: 6px solid rgba(255, 255, 255, .12);
  border-radius: 50%;
  box-shadow: 0 28px 46px rgba(0, 0, 0, .32);
}

.interview-lobby-video > .interview-video-live {
  position: absolute;
  z-index: 2;
  top: 18px;
  left: 18px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  color: #eef4ff;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  background: rgba(12, 20, 36, .58);
  backdrop-filter: blur(12px);
  font-size: 9px;
  font-weight: 820;
}

.interview-lobby-video > .interview-video-live i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #35d494;
  box-shadow: 0 0 0 4px rgba(53, 212, 148, .14);
}

.interview-lobby-video > div {
  position: absolute;
  z-index: 2;
  right: 20px;
  bottom: 18px;
  left: 20px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  color: #fff;
}

.interview-lobby-video > div strong {
  font-size: 16px;
  font-weight: 880;
}

.interview-lobby-video > div small {
  color: #b9c5db;
  font-size: 10px;
  font-weight: 680;
}

.interview-lobby-question {
  display: grid;
  gap: 10px;
  padding: 20px 22px 21px;
  background: linear-gradient(180deg, #fff, #fbfcff);
}

.interview-lobby-question > div:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.interview-lobby-question > div:first-child span {
  color: #4768dc;
  font-size: 10px;
  font-weight: 880;
  letter-spacing: .06em;
}

.interview-lobby-question > div:first-child em {
  color: #8a96a9;
  font-size: 9px;
  font-style: normal;
  font-weight: 720;
}

.interview-lobby-question h3 {
  margin: 0;
  color: #182235;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.4;
  font-weight: 900;
  letter-spacing: -.025em;
}

.interview-lobby-question p {
  margin: 0;
  color: #69778c;
  font-size: 11px;
  line-height: 1.7;
  font-weight: 640;
}

.interview-lobby-question-tags {
  display: flex !important;
  justify-content: flex-start !important;
  flex-wrap: wrap;
  gap: 7px !important;
}

.interview-lobby-question-tags span {
  padding: 5px 8px;
  color: #54657c !important;
  border: 1px solid #e0e6ef;
  border-radius: 8px;
  background: #f7f9fc;
  font-size: 9px !important;
  font-weight: 740 !important;
  letter-spacing: 0 !important;
}

.interview-lobby-side {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  gap: 12px;
  min-width: 0;
}

.interview-lobby-side > section,
.interview-lobby-mode-brief {
  border-radius: 16px;
}

.interview-lobby-answer,
.interview-lobby-analysis {
  display: grid;
  gap: 12px;
  padding: 16px 17px;
}

.interview-lobby-answer > header,
.interview-lobby-analysis > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.interview-lobby-answer > header > div {
  display: grid;
  gap: 3px;
}

.interview-lobby-answer > header span,
.interview-lobby-analysis > header span {
  color: #25334a;
  font-size: 12px;
  font-weight: 880;
}

.interview-lobby-answer > header strong,
.interview-lobby-answer > header time,
.interview-lobby-analysis > header em {
  color: #8490a2;
  font-size: 9px;
  font-style: normal;
  font-weight: 700;
}

.interview-lobby-waveform {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 58px;
  padding: 10px;
  border-radius: 12px;
  background: #f4f7fc;
}

.interview-lobby-waveform i {
  width: 3px;
  height: calc(10px + (var(--wave-index, 1) * 2px));
  min-height: 10px;
  max-height: 42px;
  border-radius: 999px;
  background: linear-gradient(180deg, #6d5bf6, #3e85f6);
  opacity: .78;
}

.interview-lobby-waveform i:nth-child(3n) { height: 34px; }
.interview-lobby-waveform i:nth-child(4n) { height: 20px; }
.interview-lobby-waveform i:nth-child(5n) { height: 42px; }
.interview-lobby-waveform i:nth-child(7n) { height: 27px; }

.interview-lobby-answer > p {
  margin: 0;
  color: #8591a3;
  font-size: 9px;
  text-align: center;
}

.interview-lobby-analysis dl {
  display: grid;
  gap: 7px;
  margin: 0;
}

.interview-lobby-analysis dl > div {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 10px;
  padding: 9px 10px;
  border: 1px solid #e4e9f1;
  border-radius: 10px;
  background: #fbfcfe;
}

.interview-lobby-analysis dt {
  color: #778397;
  font-size: 9px;
  font-weight: 740;
}

.interview-lobby-analysis dd {
  margin: 0;
  color: #2c3a50;
  font-size: 9px;
  font-weight: 760;
}

.interview-lobby-mode-brief {
  min-height: 0;
  overflow: hidden;
}

.interview-lobby-mode-brief > section {
  grid-template-columns: 1fr !important;
  align-content: center;
  gap: 10px;
  min-height: 100% !important;
  padding: 14px 15px !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.interview-lobby-mode-brief ol,
.interview-lobby-mode-brief dl,
.interview-lobby-mode-brief .interview-pressure-example {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.interview-lobby-mode-brief .interview-pressure-example p {
  min-height: 40px;
  margin: 0;
}

.interview-lobby-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 9px;
}

.interview-lobby-actions button {
  min-height: 48px;
  border-radius: 12px;
}

.interview-lobby-actions .interview-final-mode-start {
  width: 100%;
  min-width: 0;
  margin: 0;
}

.interview-lobby-actions .ghost-btn[disabled] {
  min-width: 86px;
  color: #a1aabd;
  cursor: not-allowed;
  opacity: .72;
}

html:not(.react-student-embedded) body[data-active-panel="interview"]:not(.interview-meeting-active) .interview-secondary-details {
  margin-top: 0 !important;
  border-color: #dfe6ef !important;
  border-radius: 14px !important;
  background: rgba(255, 255, 255, .78) !important;
  box-shadow: none !important;
}

html:not(.react-student-embedded) body.interview-lobby-active[data-active-panel="interview"]:not(.interview-meeting-active):has(.panel[data-panel="interview"].active) .interview-bottom-actionbar {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

html:not(.react-student-embedded) body[data-active-panel="interview"].interview-meeting-active .main.main,
html:not(.react-student-embedded) body[data-active-panel="interview"].interview-meeting-active .panel[data-panel="interview"].active,
html:not(.react-student-embedded) body[data-active-panel="interview"].interview-meeting-active #interviewStudio {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
}

html[data-theme="dark"] .interview-meeting-lobby-head h2,
html[data-theme="dark"] .interview-lobby-question h3,
html[data-theme="dark"] .interview-lobby-answer > header span,
html[data-theme="dark"] .interview-lobby-analysis > header span {
  color: #f2f6ff;
}

html[data-theme="dark"] :is(.interview-meeting-lobby-status,.interview-lobby-mode-bar,.interview-lobby-interviewer,.interview-lobby-side > section,.interview-lobby-mode-brief) {
  border-color: rgba(148, 163, 184, .18);
  background: rgba(17, 26, 42, .96);
}

html[data-theme="dark"] :is(.interview-lobby-question,.interview-lobby-waveform,.interview-lobby-analysis dl > div) {
  border-color: rgba(148, 163, 184, .16);
  background: rgba(25, 36, 54, .96);
}

@media (max-width: 1080px) {
  .interview-meeting-lobby-grid {
    grid-template-columns: 1fr;
  }

  .interview-lobby-side {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto auto;
  }

  .interview-lobby-actions {
    align-self: stretch;
  }
}

@media (max-width: 720px) {
  html:not(.react-student-embedded) body[data-active-panel="interview"]:not(.interview-meeting-active) .main.main {
    padding-inline: 14px !important;
  }

  .interview-meeting-lobby-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .interview-lobby-mode-bar,
  .interview-lobby-side {
    grid-template-columns: 1fr;
  }

  .interview-lobby-mode-bar .interview-final-mode-option {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .interview-lobby-interviewer {
    grid-template-rows: minmax(270px, 1fr) auto;
  }

  .interview-lobby-video {
    min-height: 270px;
  }

  .interview-lobby-video > img {
    width: min(78%, 360px);
  }
}
