/* Lil VR Live Caller — viewer Jump in + streamer queue UI */

.lc-jump-wrap {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.lc-jump-btn {
  position: relative;
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 0;
  max-width: min(58vw, 200px);
  height: 40px;
  padding: 0 10px 0 8px;
  border-radius: 12px;
  border: 1.5px solid rgba(249, 115, 22, 0.72);
  background: rgba(8, 10, 18, 0.82);
  color: #fff;
  cursor: pointer;
  font-family: inherit;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  flex-shrink: 0;
}

.lc-jump-icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 7px;
  border: 1.5px solid rgba(249, 115, 22, 0.85);
  background: rgba(0, 0, 0, 0.45);
}

.lc-jump-icon-box .lc-jump-queue-icon {
  display: block;
  width: 18px;
  height: 18px;
}

.lc-jump-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  min-width: 0;
}

.lc-jump-label {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #fdba74;
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 1;
}

.lc-jump-sub {
  display: block;
  font-size: 9px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.68);
  white-space: nowrap;
  line-height: 1.1;
}

.lc-jump-btn:hover,
.lc-jump-btn:focus-visible {
  border-color: rgba(251, 146, 60, 0.95);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.42);
}

.lc-jump-btn.lc-waiting {
  border-color: rgba(251, 146, 60, 0.95);
  animation: lc-pulse-wait 2s ease-in-out infinite;
}

.lc-jump-btn.lc-live {
  border-color: rgba(34, 197, 94, 0.75);
  box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.22), 0 2px 12px rgba(0, 0, 0, 0.38);
}

.lc-jump-btn.lc-live .lc-jump-label {
  color: #86efac;
}

.lc-jump-status {
  font-size: 10px;
  font-weight: 600;
  color: #94a3b8;
  text-align: center;
  max-width: 160px;
  line-height: 1.3;
}

.lc-jump-status.lc-live { color: #4ade80; }
.lc-jump-status.lc-denied { color: #f87171; }

@keyframes lc-pulse-wait {
  0%, 100% { box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35); }
  50% { box-shadow: 0 0 0 2px rgba(249, 115, 22, 0.22), 0 4px 16px rgba(249, 115, 22, 0.28); }
}

.fcp-caller-alert {
  border-color: rgba(245, 158, 11, 0.45);
  background: rgba(245, 158, 11, 0.12);
  color: #fbbf24;
}

.fcp-caller-alert.on {
  animation: lc-blink-alert 1s step-end infinite;
  border-color: rgba(251, 191, 36, 0.65);
  background: rgba(245, 158, 11, 0.2);
}

@keyframes lc-blink-alert {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.fcp-caller-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 30;
  width: min(260px, 72vw);
  padding: 10px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(10, 12, 22, 0.96);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(12px);
}

.fcp-caller-panel h4 {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #94a3b8;
}

.fcp-caller-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.fcp-caller-row:first-of-type { border-top: none; }

.fcp-caller-name {
  font-size: 13px;
  font-weight: 700;
  color: #e2e8f0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fcp-caller-actions button {
  border: none;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
}

.fcp-caller-accept {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #052e16;
}

.fcp-caller-pass {
  background: rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
}

.fcp-caller-live {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  color: #4ade80;
}

.fcp-caller-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  animation: lc-pulse-wait 1.2s ease-in-out infinite;
}

.fcp-caller-empty {
  font-size: 12px;
  color: #64748b;
  padding: 4px 0 2px;
}

.ws-caller-badge {
  position: absolute;
  top: 6px;
  right: 36px;
  z-index: 5;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #f59e0b;
  color: #111;
  font-size: 10px;
  font-weight: 800;
  display: none;
  align-items: center;
  justify-content: center;
  animation: lc-blink-alert 1s step-end infinite;
}

.ws-caller-badge.on { display: inline-flex; }
