/* 일반 사용자 UI — 간결 · 깔끔 · 고급 (사령탑과 분리) */
body.wbpc-public-site {
  background: linear-gradient(180deg, #fafbfd 0%, var(--bg) 32%, #f4f6fa 100%);
  letter-spacing: 0.01em;
}

body.wbpc-public-site .topbar {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(13, 43, 110, 0.06);
}

body.wbpc-public-site .site-header {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 1px 0 rgba(13, 43, 110, 0.05);
}

body.wbpc-public-site .brand-text strong {
  letter-spacing: 0.04em;
  font-weight: 700;
}

/* HQ gold logo ring / brand accent (restrained — not temple overload) */
body.wbpc-public-site .brand-mark {
  border-radius: 12px;
  box-shadow:
    0 0 0 1px rgba(212, 175, 55, 0.34),
    0 0 10px rgba(212, 175, 55, 0.12);
}
body.wbpc-public-site .hero .brand-text strong,
body.wbpc-public-site.wbpc-space-command .brand-text strong {
  color: #e8d48b;
}

body.wbpc-public-site .section-inner,
body.wbpc-public-site .hero-inner {
  max-width: var(--page-max);
}

body.wbpc-public-site .btn-primary {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border: 1.5px solid transparent;
  box-shadow: 0 4px 14px rgba(13, 43, 110, 0.18);
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 7px 26px;
  border-radius: 999px;
}

/* hero(어두운 배경) — 흰색 CTA + HQ 골드 액센트 · cyan cool secondary · thin long pills */
body.wbpc-public-site .hero .btn-primary {
  background: linear-gradient(165deg, #fffef8 0%, #fff 55%, #edf1fb 100%);
  color: var(--navy);
  border: 1.5px solid rgba(212, 175, 55, 0.55);
  box-shadow:
    0 0 14px rgba(212, 175, 55, 0.22),
    0 0 12px rgba(64, 170, 255, 0.14),
    0 6px 22px rgba(0, 0, 0, 0.24);
  padding: 7px 28px;
  min-width: 9.5rem;
  border-radius: 999px;
}
body.wbpc-public-site .hero .btn-primary:hover {
  background: #f7f3e6;
  color: var(--navy-dark);
  box-shadow:
    0 0 20px rgba(212, 175, 55, 0.3),
    0 0 14px rgba(64, 170, 255, 0.18);
}
body.wbpc-public-site .hero .btn-ghost {
  border: 1.5px solid rgba(110, 195, 255, 0.42);
  padding: 7px 28px;
  min-width: 9.5rem;
  border-radius: 999px;
  box-shadow: 0 0 14px rgba(64, 170, 255, 0.16);
}

body.wbpc-public-site .btn-secondary {
  border-color: rgba(13, 43, 110, 0.14);
  background: #fff;
}

body.wbpc-public-site .section-eyebrow {
  letter-spacing: 0.14em;
  color: #b8860b;
  font-weight: 700;
}

body.wbpc-public-site .hero h1,
body.wbpc-public-site .section-head h2 {
  letter-spacing: -0.02em;
  font-weight: 700;
}

body.wbpc-public-site .audience-card,
body.wbpc-public-site .wbpc-legal-card,
body.wbpc-public-site .wbpc-prog-card {
  border: 1px solid rgba(13, 43, 110, 0.08);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: 0 8px 28px rgba(13, 43, 110, 0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

body.wbpc-public-site .audience-card:hover,
body.wbpc-public-site .wbpc-legal-card:hover,
body.wbpc-public-site .wbpc-prog-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(13, 43, 110, 0.1);
}

body.wbpc-public-site #ai-concierge-panel,
body.wbpc-public-site .ai-concierge-panel {
  border: 1px solid rgba(13, 43, 110, 0.1);
  border-radius: 18px;
  box-shadow: 0 16px 48px rgba(13, 43, 110, 0.12);
  overflow: hidden;
}

body.wbpc-public-site .ai-msg.from-ai .bubble {
  background: linear-gradient(135deg, #f8fafc 0%, #eef2ff 100%);
  border: 1px solid rgba(13, 43, 110, 0.08);
}

body.wbpc-public-site .ai-msg.from-user .bubble {
  background: linear-gradient(135deg, var(--navy) 0%, #1a4088 100%);
  color: #fff;
}

body.wbpc-public-site .ai-suggest-chip,
body.wbpc-public-site .wbpc-tier-chip {
  border-radius: 999px;
  border: 1px solid rgba(184, 134, 11, 0.35);
  background: rgba(255, 251, 235, 0.9);
  color: var(--navy);
  font-weight: 600;
  font-size: 0.82rem;
}

body.wbpc-public-site .ai-panel .ai-suggest-row {
  margin-left: 34px;
  margin-bottom: 8px;
}

/* 사령관 전용 UI — 공개 표면에서 완전 숨김 */
body.wbpc-public-site #wbpc-commander-auto-badge,
body.wbpc-public-site #wbpc-commander-standby-badge,
body.wbpc-public-site #wbpc-commander-enroll-hint,
body.wbpc-public-site #wbpc-commander-connect-hint,
body.wbpc-public-site #site-created-ai-host,
body.wbpc-public-site .created-ai-picker-wrap,
body.wbpc-public-site [data-wbpc-commander-only] {
  display: none !important;
}

.wbpc-user-3d-voice-hint {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.4;
  margin: 0;
}
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.wbpc-user-3d-one-btn {
  border: none;
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.92);
  color: #111;
}
.wbpc-user-3d-one-btn.ready {
  background: linear-gradient(135deg, #5fe3e0, #7c6cf0);
  color: #fff;
}
.wbpc-user-3d-one-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.wbpc-user-3d-one-msg {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.4;
}

body.wbpc-ai-dialogue-only .ai-voice-face-stage,
body.wbpc-ai-dialogue-only .site-ai-guide-hub-face,
body.wbpc-ai-dialogue-only #site-ai-presenter-root,
body.wbpc-ai-dialogue-only .site-ai-presenter-face,
body.wbpc-ai-dialogue-only .ai-panel-avatar-stage {
  display: none !important;
}
body.wbpc-ai-dialogue-only .ai-voice-caption,
body.wbpc-normal-chat .ai-voice-caption {
  display: none !important;
}
/* 사령관 일반 대화창에서는 OS식 자막·음성캡션 중복 표시 안 함.
   해외근로자용 .wbpc-overseas-live-caption 만 입구~내부에서 사용 */
.worker-dialogue-card {
  padding: 22px 20px;
  border: 2px solid rgba(110, 195, 255, 0.4);
  border-radius: 16px;
  background: linear-gradient(
    165deg,
    rgba(16, 22, 36, 0.38) 0%,
    rgba(8, 12, 22, 0.48) 100%
  );
  color: rgba(240, 244, 252, 0.95);
  backdrop-filter: blur(16px) saturate(1.08);
  -webkit-backdrop-filter: blur(16px) saturate(1.08);
  box-shadow:
    0 0 0 1px rgba(80, 180, 255, 0.12),
    0 0 24px rgba(64, 170, 255, 0.24),
    0 0 16px rgba(212, 175, 55, 0.12),
    0 28px 56px rgba(0, 0, 0, 0.42),
    0 10px 22px rgba(0, 0, 0, 0.28),
    inset 0 0 0 1px rgba(212, 175, 55, 0.26),
    inset 0 1px 0 rgba(232, 212, 139, 0.22);
}
.worker-dialogue-card .lead {
  color: rgba(230, 236, 246, 0.92);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.75);
}
.worker-dialogue-card .btn {
  padding: 7px 26px;
  min-width: 9rem;
  border-radius: 999px;
  border-width: 1.5px;
  box-shadow: 0 0 12px rgba(64, 170, 255, 0.18), 0 6px 16px rgba(0, 0, 0, 0.22);
}
.worker-dialogue-card .btn-primary {
  border-color: rgba(212, 175, 55, 0.55);
  box-shadow:
    0 0 12px rgba(212, 175, 55, 0.2),
    0 0 8px rgba(64, 170, 255, 0.12),
    0 6px 16px rgba(0, 0, 0, 0.22);
}
body.wbpc-space-command .worker-dialogue-card {
  background: linear-gradient(
    165deg,
    rgba(14, 20, 34, 0.34) 0%,
    rgba(6, 10, 18, 0.46) 100%
  );
  border-color: rgba(110, 195, 255, 0.42);
}
