/* ==========================================================================
   超级一人 · 官网 V3.5 清透珠光玻璃 AI 顾问悬浮胶囊与对话窗
   ========================================================================== */

.enterprise-artwork { position: relative; }

/* 右下角悬浮 Apple Liquid Glass AI 顾问胶囊 */
.reception-dock {
  position: fixed;
  right: 24px;
  bottom: calc(22px + env(safe-area-inset-bottom));
  z-index: 70;
  width: auto;
  margin: 0;
}

.reception-open {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 58px;
  padding: 0 20px 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.96);
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  box-shadow:
    0 14px 36px rgba(34, 48, 96, 0.14),
    0 2px 8px rgba(34, 48, 96, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.98);
  cursor: pointer;
  color: #141824;
  font: inherit;
  text-align: left;
  transition: transform 0.18s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.2s ease;
}
.reception-open:hover {
  transform: translateY(-2px);
  box-shadow:
    0 18px 42px rgba(91, 107, 255, 0.20),
    0 4px 12px rgba(34, 48, 96, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 1);
}
.reception-open:active { transform: scale(0.97); }
.reception-open:focus-visible {
  outline: 2px solid #5B6BFF;
  outline-offset: 4px;
}

.reception-composition {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  position: relative;
}
.reception-pill,
.reception-person { display: none !important; }

/* 蓝紫透光呼吸微光球图标（替代旧粗黑线卡通小男孩） */
.reception-orb {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex: none;
  background:
    radial-gradient(65% 65% at 32% 28%, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0) 58%),
    linear-gradient(135deg, #5B6BFF 0%, #7B61FF 100%);
  box-shadow:
    0 8px 20px rgba(91, 107, 255, 0.36),
    inset 0 1px 2px rgba(255, 255, 255, 0.65);
  display: grid;
  place-items: center;
}
.reception-orb i {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.9);
  animation: v35OrbPulse 2.8s ease-in-out infinite;
}
@keyframes v35OrbPulse {
  0%, 100% { transform: scale(0.92); opacity: 0.88; }
  50% { transform: scale(1.12); opacity: 1; }
}

.reception-copy {
  position: static;
  display: flex;
  flex-direction: column;
  gap: 2px;
  pointer-events: none;
}
.reception-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  line-height: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #5B6BFF;
}
.reception-kicker::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.18);
}
.reception-message {
  display: block;
  font-size: 13.5px;
  line-height: 18px;
  font-weight: 600;
  color: #141824;
  white-space: nowrap;
}

/* 清透玻璃 AI 顾问对话窗 */
.cs-panel {
  display: none;
  position: fixed;
  right: 24px;
  bottom: calc(92px + env(safe-area-inset-bottom));
  width: min(368px, calc(100vw - 28px));
  padding: 16px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.96);
  border-radius: 26px;
  box-shadow:
    0 22px 54px rgba(24, 34, 72, 0.16),
    0 4px 12px rgba(24, 34, 72, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 1);
  color: #141824;
  z-index: 75;
}
.cs-panel.open {
  display: block;
  animation: v35CsIn 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes v35CsIn {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

.cs-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.cs-hd b {
  font-size: 15.5px;
  font-weight: 800;
  color: #141824;
}
.cs-mode {
  margin: 4px 0 0;
  font-size: 12px;
  line-height: 1.5;
  color: #6E7891;
}
.cs-x {
  border: 1px solid rgba(20, 24, 36, 0.07);
  background: rgba(245, 247, 252, 0.92);
  color: #525B70;
  border-radius: 999px;
  height: 30px;
  padding: 0 12px;
  font: inherit;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
}
.cs-x:hover { background: rgba(91, 107, 255, 0.10); color: #5B6BFF; }

.cs-log {
  max-height: 250px;
  overflow-y: auto;
  margin-top: 12px;
  padding: 2px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cs-msg {
  max-width: 88%;
  padding: 10px 14px;
  font-size: 13.5px;
  line-height: 1.6;
  white-space: pre-wrap;
  word-break: break-word;
}
.cs-msg.me {
  align-self: flex-end;
  background: linear-gradient(135deg, #5B6BFF 0%, #7B61FF 100%);
  color: #FFFFFF;
  border-radius: 18px 18px 6px 18px;
  box-shadow: 0 6px 16px rgba(91, 107, 255, 0.22);
}
.cs-msg.bot {
  align-self: flex-start;
  background: rgba(245, 247, 252, 0.95);
  border: 1px solid rgba(20, 24, 36, 0.06);
  color: #141824;
  border-radius: 18px 18px 18px 6px;
}

/* 3 枚高频快捷提问胶囊 */
.cs-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}
.cs-chip {
  border: 1px solid rgba(91, 107, 255, 0.20);
  background: rgba(91, 107, 255, 0.07);
  color: #4654E8;
  border-radius: 999px;
  padding: 5px 11px;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.14s ease;
}
.cs-chip:hover { background: rgba(91, 107, 255, 0.14); }
.cs-chip:active { transform: scale(0.96); }

.cs-wait,
.cs-err {
  margin: 8px 0 0;
  font-size: 12.5px;
  line-height: 1.5;
  color: #6E7891;
}
.cs-err { color: #BE123C; }

.cs-form {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}
.cs-form input {
  flex: 1;
  min-width: 0;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(20, 24, 36, 0.09);
  background: rgba(242, 245, 251, 0.92);
  padding: 0 16px;
  font: inherit;
  font-size: 14px;
  color: #141824;
  outline: none;
}
.cs-form input:focus {
  background: #FFFFFF;
  border-color: #5B6BFF;
  box-shadow: 0 0 0 3px rgba(91, 107, 255, 0.14);
}
.cs-form button {
  height: 42px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #5B6BFF 0%, #7B61FF 100%);
  color: #FFFFFF;
  font: inherit;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(91, 107, 255, 0.26);
}
.cs-form button:disabled { opacity: 0.55; cursor: default; }

@media (max-width: 640px) {
  .reception-dock { right: 14px; bottom: calc(14px + env(safe-area-inset-bottom)); }
  .reception-open { height: 52px; padding: 0 16px 0 8px; }
  .reception-orb { width: 36px; height: 36px; }
  .reception-message { font-size: 13px; }
  .cs-panel { right: 14px; bottom: calc(78px + env(safe-area-inset-bottom)); }
}
