/* =========================================================
   LUMEN — embedded live event + Q&A
   ========================================================= */

.embed-page {
  background: #070806;
  min-height: 100vh;
}

.embed-page::after {
  opacity: 0.025;
}

.embed-nav {
  position: sticky;
  top: 0;
  z-index: 80;
  height: 66px;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 8, 6, 0.84);
  backdrop-filter: blur(20px) saturate(120%);
  -webkit-backdrop-filter: blur(20px) saturate(120%);
}

.embed-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 24px;
}

.event-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.event-brand .brand {
  font-size: 12px;
  letter-spacing: 0.14em;
}

.event-brand .brand-mark {
  width: 23px;
  height: 23px;
}

.event-divider {
  width: 1px;
  height: 17px;
  background: var(--line);
}

.event-code {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.09em;
}

.event-code .live-dot {
  width: 4px;
  height: 4px;
}

.embed-tabs {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.embed-tab {
  padding: 7px 12px;
  border-radius: 30px;
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 500;
  transition: color 0.2s, background 0.2s;
}

.embed-tab:hover {
  color: var(--ink);
}

.embed-tab.is-active {
  background: rgba(255, 255, 255, 0.055);
  color: var(--ink);
}

.embed-tab .tab-count {
  margin-left: 4px;
  color: var(--lime);
  font-size: 8px;
}

.embed-nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.embed-viewers {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 30px;
  color: var(--ink-dim);
  font-size: 9px;
  letter-spacing: 0.03em;
}

.embed-viewers .live-dot {
  width: 4px;
  height: 4px;
}

.embed-viewers svg {
  width: 12px;
  height: 12px;
  color: var(--muted);
}

.embed-nav .btn-sm {
  height: 34px;
  padding: 0 13px;
  font-size: 10px;
}

.embed-leave {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  transition: color 0.2s, border-color 0.2s;
}

.embed-leave:hover {
  color: var(--ink);
  border-color: var(--line-strong);
}

.embed-leave svg {
  width: 14px;
  height: 14px;
}

.embed-main {
  width: min(100% - 40px, 1520px);
  margin-inline: auto;
  padding: 20px 0 90px;
}

/* ---------- stage + chat ---------- */

.stage-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 342px;
  gap: 16px;
  align-items: stretch;
}

.player-column {
  min-width: 0;
}

.video-shell {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid rgba(242, 244, 236, 0.14);
  border-radius: 17px;
  background: #0a0d0a;
  isolation: isolate;
}

.video-shell:fullscreen {
  width: 100vw;
  height: 100vh;
  border: 0;
  border-radius: 0;
  background: #000;
}

#stageCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.video-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(5, 7, 5, 0.52) 0%, transparent 24%, transparent 62%, rgba(4, 6, 4, 0.72) 100%),
    radial-gradient(ellipse at 50% 50%, transparent 40%, rgba(0, 0, 0, 0.18) 100%);
}

.video-topline {
  position: absolute;
  z-index: 4;
  top: 16px;
  left: 16px;
  right: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.broadcast-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 10px;
  border: 1px solid rgba(216, 255, 66, 0.32);
  border-radius: 30px;
  background: rgba(7, 10, 6, 0.58);
  color: var(--lime);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.broadcast-pill .live-dot {
  width: 4px;
  height: 4px;
}

.broadcast-watch {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 9px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 30px;
  background: rgba(7, 10, 6, 0.45);
  color: rgba(255, 255, 255, 0.68);
  font-size: 8.5px;
  letter-spacing: 0.03em;
  backdrop-filter: blur(10px);
}

.broadcast-watch svg {
  width: 12px;
  height: 12px;
}

.stage-watermark {
  position: absolute;
  z-index: 2;
  top: 11%;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.055);
  font-size: clamp(52px, 6.5vw, 105px);
  font-weight: 800;
  letter-spacing: -0.08em;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

.presenter-lower-third {
  position: absolute;
  z-index: 4;
  left: 20px;
  bottom: 55px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 14px 10px 10px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 12px;
  background: rgba(6, 9, 6, 0.68);
  backdrop-filter: blur(13px);
  transition: opacity 0.35s, transform 0.35s var(--ease);
}

.presenter-lower-third .avatar {
  width: 42px;
  height: 42px;
  margin: 0;
  border: 0;
  background: linear-gradient(145deg, #c8a87d, #4b3622);
  font-size: 11px;
}

.presenter-lower-third span {
  display: block;
  margin-bottom: 3px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 7.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.presenter-lower-third strong {
  display: block;
  color: #f4f6ef;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.presenter-lower-third em {
  display: block;
  margin-top: 1px;
  color: rgba(255, 255, 255, 0.48);
  font-family: var(--sans);
  font-style: normal;
  font-size: 9px;
  letter-spacing: 0;
}

.stage-mark {
  position: absolute;
  z-index: 4;
  right: 20px;
  bottom: 60px;
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.36);
  font-size: 7px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.stage-mark svg {
  width: 13px;
  height: 13px;
  opacity: 0.6;
}

.captions {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 67px;
  width: min(72%, 660px);
  transform: translateX(-50%);
  padding: 8px 12px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.76);
  color: #f1f3eb;
  font-size: 11px;
  line-height: 1.4;
  text-align: center;
  transition: opacity 0.25s;
}

.captions.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.video-paused-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  background: rgba(4, 6, 4, 0.32);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}

.video-shell.is-paused .video-paused-overlay {
  opacity: 1;
}

.video-paused-overlay span {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border: 1px solid rgba(216, 255, 66, 0.5);
  border-radius: 50%;
  background: rgba(6, 9, 6, 0.58);
  color: var(--lime);
  backdrop-filter: blur(10px);
}

.video-paused-overlay svg {
  width: 26px;
  height: 26px;
  margin-left: 3px;
}

.player-controls {
  position: absolute;
  z-index: 5;
  left: 16px;
  right: 16px;
  bottom: 12px;
  display: flex;
  align-items: center;
  gap: 11px;
  color: rgba(255, 255, 255, 0.68);
}

.player-btn {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  flex: none;
  border-radius: 50%;
  background: transparent;
  color: rgba(255, 255, 255, 0.68);
  transition: color 0.2s, background 0.2s;
}

.player-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.player-btn[aria-pressed="true"] {
  color: var(--lime);
}

.player-btn svg {
  width: 15px;
  height: 15px;
}

.player-progress {
  flex: 1;
  height: 16px;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.player-progress-track {
  position: relative;
  width: 100%;
  height: 3px;
  overflow: hidden;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.16);
}

.player-progress-fill {
  display: block;
  width: 62%;
  height: 100%;
  border-radius: inherit;
  background: var(--lime);
  box-shadow: 0 0 8px rgba(216, 255, 66, 0.5);
}

.player-time {
  color: rgba(255, 255, 255, 0.48);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 8px;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.player-live {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--lime);
  font-size: 7.5px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.player-live::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
}

/* stage details below player */

.stage-meta {
  padding: 22px 4px 0;
}

.stage-meta-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.session-kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.session-kicker .session-number {
  color: var(--lime);
}

.stage-meta h1 {
  font-size: clamp(1.65rem, 2.8vw, 2.35rem);
  line-height: 1.05;
  letter-spacing: -0.055em;
}

.stage-meta h1 em {
  color: var(--lime);
}

.stage-meta-sub {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin-top: 9px;
  color: var(--muted);
  font-size: 11.5px;
}

.stage-meta-sub strong {
  color: var(--ink-dim);
  font-weight: 500;
}

.stage-meta-sub i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #565b53;
}

.stage-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 15px;
}

.stage-tags span {
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: 30px;
  color: #777d74;
  font-size: 7.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.stage-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-top: 4px;
}

.stage-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 33px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: transparent;
  color: var(--ink-dim);
  font-size: 9px;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.stage-action:hover,
.stage-action[aria-pressed="true"] {
  border-color: rgba(216, 255, 66, 0.35);
  background: rgba(216, 255, 66, 0.05);
  color: var(--lime);
}

.stage-action svg {
  width: 12px;
  height: 12px;
}

/* ---------- live chat ---------- */

.chat-panel {
  display: flex;
  flex-direction: column;
  min-height: 420px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: #0b0d0b;
}

.chat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 15px;
  border-bottom: 1px solid var(--line);
}

.chat-title {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.chat-title .live-dot {
  width: 4px;
  height: 4px;
}

.chat-count {
  color: #62685e;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 8px;
  font-weight: 400;
}

.chat-head-actions {
  display: flex;
  gap: 2px;
}

.chat-head-actions button {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: transparent;
  color: #666c62;
  transition: background 0.2s, color 0.2s;
}

.chat-head-actions button:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--ink);
}

.chat-head-actions svg {
  width: 13px;
  height: 13px;
}

.chat-pinned {
  margin: 12px 12px 3px;
  padding: 9px 10px;
  border: 1px solid rgba(216, 255, 66, 0.16);
  border-radius: 9px;
  background: rgba(216, 255, 66, 0.04);
  color: #a7ad9f;
  font-size: 9px;
  line-height: 1.45;
}

.chat-pinned strong {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 3px;
  color: var(--lime);
  font-size: 7px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.chat-messages {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 10px 13px 12px;
  scrollbar-width: thin;
  scrollbar-color: #30352e transparent;
}

.chat-messages::-webkit-scrollbar {
  width: 5px;
}
.chat-messages::-webkit-scrollbar-track {
  background: transparent;
}
.chat-messages::-webkit-scrollbar-thumb {
  background: #30352e;
  border: 0;
  border-radius: 5px;
}

.chat-msg {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 7px 0;
  animation: chatIn 0.4s var(--ease);
}

@keyframes chatIn {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
}

.chat-msg .avatar {
  width: 23px;
  height: 23px;
  margin: 0;
  border: 0;
  flex: none;
  font-size: 7px;
}

.chat-msg .avatar.me {
  background: var(--lime);
  color: #0a0c06;
}

.chat-msg-body {
  min-width: 0;
  flex: 1;
}

.chat-msg-head {
  display: flex;
  align-items: center;
  gap: 5px;
  line-height: 1.2;
}

.chat-msg-head strong {
  color: var(--ink-dim);
  font-size: 9.5px;
  font-weight: 600;
}

.chat-msg-head .chat-badge {
  padding: 2px 4px;
  border-radius: 3px;
  background: rgba(216, 255, 66, 0.12);
  color: var(--lime);
  font-size: 5.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.chat-msg-head time {
  margin-left: auto;
  color: #555b52;
  font-size: 7px;
}

.chat-msg p {
  margin-top: 3px;
  color: #9ba195;
  font-size: 10px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.chat-msg.mine p {
  color: var(--ink-dim);
}

.chat-msg.mine .chat-msg-head strong {
  color: var(--lime);
}

.chat-typing {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 13px 7px;
  color: #5e645a;
  font-size: 7.5px;
}

.typing-dots {
  display: flex;
  gap: 2px;
}

.typing-dots i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #777d72;
  animation: typing 1.1s ease-in-out infinite;
}

.typing-dots i:nth-child(2) {
  animation-delay: 0.15s;
}
.typing-dots i:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes typing {
  0%,
  100% {
    opacity: 0.3;
    transform: translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateY(-2px);
  }
}

.chat-form {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 11px;
  border-top: 1px solid var(--line);
  background: #090b09;
}

.chat-form input {
  width: 100%;
  min-width: 0;
  height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: none;
  background: #0e110e;
  color: var(--ink);
  font-size: 10px;
  transition: border-color 0.2s;
}

.chat-form input::placeholder {
  color: #5e645a;
}

.chat-form input:focus {
  border-color: rgba(216, 255, 66, 0.4);
}

.chat-form button {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 8px;
  background: var(--lime);
  color: #0a0c06;
  transition: background 0.2s, transform 0.2s;
}

.chat-form button:hover {
  background: #e4ff78;
  transform: translateY(-1px);
}

.chat-form button svg {
  width: 15px;
  height: 15px;
}

/* ---------- Q&A ---------- */

.qa-section {
  margin-top: 76px;
  padding-top: 74px;
  border-top: 1px solid var(--line);
  scroll-margin-top: 86px;
}

.qa-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: end;
  margin-bottom: 40px;
}

.qa-label {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 17px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.qa-label::before {
  content: "";
  width: 21px;
  height: 1px;
  background: var(--lime);
}

.qa-label span {
  color: var(--lime);
}

.qa-head h2 {
  font-size: clamp(2.8rem, 5.4vw, 5.8rem);
  line-height: 0.92;
  letter-spacing: -0.07em;
}

.qa-head h2 em {
  color: var(--lime);
}

.qa-head-sub {
  max-width: 380px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.qa-stats {
  display: flex;
  gap: 28px;
  padding-bottom: 7px;
}

.qa-stat {
  min-width: 70px;
}

.qa-stat strong {
  display: block;
  color: var(--ink);
  font-size: 30px;
  font-weight: 500;
  letter-spacing: -0.06em;
}

.qa-stat span {
  display: block;
  margin-top: 2px;
  color: #6a7066;
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.qa-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 24px;
  align-items: start;
}

.qa-main {
  min-width: 0;
}

.qa-ask {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(23, 26, 21, 0.7), rgba(11, 13, 11, 0.86));
}

.qa-ask .avatar {
  width: 31px;
  height: 31px;
  margin: 0;
  border: 0;
  flex: none;
  background: var(--lime);
  color: #0a0c06;
  font-size: 8px;
}

.qa-ask-body {
  flex: 1;
  min-width: 0;
}

.qa-ask-field {
  display: flex;
  align-items: center;
  gap: 6px;
}

.qa-ask-field input {
  width: 100%;
  min-width: 0;
  height: 36px;
  padding: 0 2px;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--ink);
  font-size: 13px;
}

.qa-ask-field input::placeholder {
  color: #666c62;
}

.qa-ask-field button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 14px;
  flex: none;
  border-radius: 7px;
  background: var(--lime);
  color: #0a0c06;
  font-size: 10px;
  font-weight: 600;
  transition: background 0.2s, transform 0.2s;
}

.qa-ask-field button:hover {
  background: #e4ff78;
  transform: translateY(-1px);
}

.qa-ask-field button svg {
  width: 12px;
  height: 12px;
}

.qa-ask-hint {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 5px;
  color: #5f655b;
  font-size: 8px;
}

.qa-ask-hint svg {
  width: 10px;
  height: 10px;
}

.qa-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 20px 0 4px;
}

.qa-filters {
  display: flex;
  gap: 3px;
}

.qa-filter {
  padding: 6px 10px;
  border-radius: 30px;
  background: transparent;
  color: var(--muted);
  font-size: 9px;
  transition: color 0.2s, background 0.2s;
}

.qa-filter:hover {
  color: var(--ink);
}

.qa-filter.is-active {
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink);
}

.qa-search {
  position: relative;
  width: 175px;
}

.qa-search svg {
  position: absolute;
  top: 50%;
  left: 10px;
  width: 12px;
  height: 12px;
  transform: translateY(-50%);
  color: #5e645a;
  pointer-events: none;
}

.qa-search input {
  width: 100%;
  height: 30px;
  padding: 0 10px 0 28px;
  border: 1px solid var(--line);
  border-radius: 30px;
  outline: none;
  background: transparent;
  color: var(--ink);
  font-size: 9.5px;
}

.qa-search input::placeholder {
  color: #5e645a;
}

.qa-search input:focus {
  border-color: rgba(216, 255, 66, 0.4);
}

.qa-list {
  display: flex;
  flex-direction: column;
}

.qa-item {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 14px;
  padding: 21px 0;
  border-bottom: 1px solid var(--line);
  animation: qaIn 0.45s var(--ease);
}

@keyframes qaIn {
  from {
    opacity: 0;
    transform: translateY(7px);
  }
}

.qa-vote {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  width: 38px;
  padding: 5px 0 4px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: transparent;
  color: #777d73;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.qa-vote:hover,
.qa-vote[aria-pressed="true"] {
  border-color: rgba(216, 255, 66, 0.38);
  background: rgba(216, 255, 66, 0.05);
  color: var(--lime);
}

.qa-vote svg {
  width: 11px;
  height: 11px;
}

.qa-vote span {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
}

.qa-content {
  min-width: 0;
}

.qa-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  color: #686e64;
  font-size: 8px;
}

.qa-meta .avatar {
  width: 18px;
  height: 18px;
  margin: 0;
  border: 0;
  font-size: 6px;
}

.qa-meta strong {
  color: var(--ink-dim);
  font-size: 9.5px;
  font-weight: 500;
}

.qa-meta i {
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: #555b51;
}

.qa-meta .qa-mine {
  padding: 2px 5px;
  border-radius: 3px;
  background: rgba(216, 255, 66, 0.1);
  color: var(--lime);
  font-size: 6px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.qa-question {
  margin-top: 7px;
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.42;
  letter-spacing: -0.015em;
  overflow-wrap: anywhere;
}

.qa-answer {
  position: relative;
  margin-top: 11px;
  padding: 10px 12px 10px 13px;
  border-left: 2px solid var(--lime);
  border-radius: 0 7px 7px 0;
  background: rgba(216, 255, 66, 0.035);
}

.qa-answer-head {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
  color: var(--lime);
  font-size: 7px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.qa-answer-head svg {
  width: 10px;
  height: 10px;
}

.qa-answer p {
  color: #a8aea0;
  font-size: 11px;
  line-height: 1.5;
}

.qa-answer p strong {
  color: var(--ink-dim);
  font-weight: 500;
}

.qa-empty {
  padding: 60px 20px;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.qa-aside {
  position: sticky;
  top: 88px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.qa-host-card,
.qa-info-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: linear-gradient(145deg, rgba(21, 24, 20, 0.66), rgba(10, 12, 9, 0.84));
}

.qa-aside-label {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 13px;
  color: #6a7066;
  font-size: 7.5px;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.qa-aside-label .live-dot {
  width: 4px;
  height: 4px;
}

.qa-host {
  display: flex;
  align-items: center;
  gap: 10px;
}

.qa-host .avatar {
  width: 37px;
  height: 37px;
  margin: 0;
  border: 0;
  background: linear-gradient(145deg, #b89a73, #4b3823);
  font-size: 9px;
}

.qa-host strong {
  display: block;
  color: var(--ink);
  font-size: 11px;
  font-weight: 600;
}

.qa-host span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 8.5px;
}

.qa-host-note {
  margin-top: 13px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: #8a9085;
  font-size: 9.5px;
  line-height: 1.55;
}

.qa-info-card h3 {
  margin-bottom: 10px;
  color: var(--ink-dim);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0;
}

.qa-tips {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.qa-tip {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #858b80;
  font-size: 9px;
  line-height: 1.4;
}

.qa-tip span {
  display: grid;
  place-items: center;
  width: 15px;
  height: 15px;
  flex: none;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--lime);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 6.5px;
}

.qa-embed-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 38px;
  margin-top: 14px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: transparent;
  color: var(--ink-dim);
  font-size: 9px;
  transition: border-color 0.2s, color 0.2s;
}

.qa-embed-btn:hover {
  border-color: rgba(216, 255, 66, 0.35);
  color: var(--lime);
}

.qa-embed-btn svg {
  width: 12px;
  height: 12px;
}

/* ---------- footer ---------- */

.embed-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(100% - 40px, 1520px);
  margin-inline: auto;
  padding: 22px 0 32px;
  border-top: 1px solid var(--line);
  color: #5e645a;
  font-size: 9px;
}

.embed-footer-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.embed-footer .brand {
  font-size: 10px;
  letter-spacing: 0.14em;
}

.embed-footer .brand-mark {
  width: 18px;
  height: 18px;
}

.embed-footer-copy {
  color: #4f554c;
}

.embed-footer-links {
  display: flex;
  gap: 18px;
}

.embed-footer-links a:hover {
  color: var(--ink-dim);
}

/* ---------- embed modal ---------- */

.embed-dialog {
  width: min(560px, calc(100% - 32px));
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: #0c0e0c;
  color: var(--ink);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
}

.embed-dialog::backdrop {
  background: rgba(3, 4, 3, 0.72);
  backdrop-filter: blur(5px);
}

.embed-dialog-inner {
  padding: 24px;
}

.embed-dialog-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 8px;
}

.embed-dialog h3 {
  font-size: 23px;
  letter-spacing: -0.04em;
}

.embed-dialog p {
  max-width: 420px;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.dialog-close {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: none;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
}

.dialog-close:hover {
  color: var(--ink);
}

.dialog-close svg {
  width: 12px;
  height: 12px;
}

.embed-code-box {
  width: 100%;
  height: 104px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: none;
  background: #080a08;
  color: #a8aea0;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  line-height: 1.5;
  resize: none;
}

.embed-dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 14px;
}

.embed-dialog-actions .btn {
  height: 38px;
  padding: 0 14px;
  font-size: 10px;
}

/* ---------- responsive ---------- */

@media (max-width: 1200px) {
  .stage-layout {
    grid-template-columns: minmax(0, 1fr) 310px;
  }
  .qa-layout {
    grid-template-columns: minmax(0, 1fr) 280px;
  }
  .stage-watermark {
    font-size: 8vw;
  }
}

@media (max-width: 1020px) {
  .stage-layout {
    grid-template-columns: 1fr;
  }
  .chat-panel {
    min-height: 0;
    height: 390px;
  }
  .chat-messages {
    max-height: 220px;
  }
  .qa-head {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .qa-stats {
    padding-bottom: 0;
  }
  .qa-layout {
    grid-template-columns: 1fr;
  }
  .qa-aside {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 780px) {
  .embed-tabs {
    display: none;
  }
  .embed-viewers {
    display: none;
  }
  .embed-nav-actions .btn span:not(.arrow) {
    display: none;
  }
  .event-code span:last-child {
    display: none;
  }
  .embed-main {
    width: calc(100% - 24px);
    padding-top: 12px;
  }
  .video-shell {
    border-radius: 12px;
  }
  .stage-layout {
    gap: 12px;
  }
  .presenter-lower-third {
    left: 12px;
    bottom: 49px;
    padding: 8px 10px 8px 8px;
  }
  .presenter-lower-third .avatar {
    width: 32px;
    height: 32px;
  }
  .presenter-lower-third strong {
    font-size: 11px;
  }
  .stage-mark {
    display: none;
  }
  .captions {
    bottom: 58px;
    width: 88%;
    font-size: 9.5px;
  }
  .video-topline {
    top: 11px;
    left: 11px;
    right: 11px;
  }
  .broadcast-pill,
  .broadcast-watch {
    padding: 5px 8px;
    font-size: 7px;
  }
  .player-controls {
    left: 11px;
    right: 11px;
    bottom: 9px;
    gap: 7px;
  }
  .player-btn {
    width: 25px;
    height: 25px;
  }
  .player-time {
    display: none;
  }
  .stage-meta {
    padding-top: 18px;
  }
  .stage-meta-top {
    display: block;
  }
  .stage-actions {
    margin-top: 16px;
    flex-wrap: wrap;
  }
  .qa-section {
    margin-top: 52px;
    padding-top: 52px;
    scroll-margin-top: 76px;
  }
  .qa-head h2 {
    font-size: 3.2rem;
  }
  .qa-stats {
    gap: 20px;
  }
  .qa-stat strong {
    font-size: 25px;
  }
  .qa-toolbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
  .qa-search {
    width: 100%;
  }
  .qa-aside {
    grid-template-columns: 1fr;
  }
  .embed-footer {
    width: calc(100% - 24px);
    flex-wrap: wrap;
  }
  .embed-footer-copy {
    display: none;
  }
}

@media (max-width: 520px) {
  .embed-nav {
    height: 58px;
  }
  .event-divider {
    display: none;
  }
  .embed-nav .btn-sm {
    height: 31px;
    padding: 0 10px;
    font-size: 9px;
  }
  .embed-leave {
    width: 31px;
    height: 31px;
  }
  .embed-main {
    width: calc(100% - 18px);
  }
  .video-shell {
    border-radius: 10px;
  }
  .stage-watermark {
    top: 15%;
    font-size: 14vw;
  }
  .broadcast-pill {
    letter-spacing: 0.08em;
  }
  .presenter-lower-third {
    max-width: calc(100% - 24px);
  }
  .presenter-lower-third em {
    max-width: 190px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .captions {
    bottom: 53px;
    width: 92%;
    padding: 6px 8px;
    font-size: 8px;
  }
  .player-controls {
    gap: 3px;
  }
  .player-btn {
    width: 23px;
  }
  .player-progress {
    margin: 0 2px;
  }
  .chat-panel {
    height: 360px;
  }
  .chat-messages {
    max-height: 190px;
  }
  .qa-head h2 {
    font-size: 2.7rem;
  }
  .qa-stats {
    justify-content: space-between;
    gap: 10px;
  }
  .qa-stat {
    min-width: 0;
  }
  .qa-stat strong {
    font-size: 22px;
  }
  .qa-ask {
    padding: 12px;
  }
  .qa-ask .avatar {
    display: none;
  }
  .qa-ask-field button {
    padding: 0 11px;
  }
  .qa-ask-hint {
    display: none;
  }
  .qa-item {
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 10px;
    padding: 18px 0;
  }
  .qa-vote {
    width: 32px;
  }
  .qa-question {
    font-size: 13.5px;
  }
  .embed-footer-links {
    gap: 12px;
  }
}
