/* ==========================================================================
   168mjbot.com — 名爵BOT 内页（对话控制台风）
   独立骨架：聊天 Hero + 气泡对话流 + 转接路径
   ========================================================================== */

.bt-page { background: #080f1e; color: #dbe6f5; }

/* ---------- Hero ---------- */
.bt-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(760px 420px at 76% 22%, rgba(34, 211, 238, .16), transparent 66%),
    linear-gradient(160deg, #0d1a30, #080f1e 60%, #050a14);
  padding: 26px 0 60px;
}

.bt-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(34, 211, 238, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 211, 238, .05) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.9), transparent 92%);
}

.bt-hero .container { position: relative; }

.bt-hero-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 30px;
}

.bt-hero .crumb { color: #5f7590; }
.bt-hero .crumb a:hover { color: #67e8f9; }

.bt-hero-grid {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 44px;
  align-items: center;
}

.bt-hero-grid > * { min-width: 0; }

.bt-live {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 13px;
  border-radius: 999px;
  background: rgba(74, 222, 128, .1);
  border: 1px solid rgba(74, 222, 128, .3);
  color: #4ade80;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 1.4px;
}

.bt-live i {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 4px rgba(74, 222, 128, .14);
}

.bt-hero h1 {
  margin-top: 18px;
  font-size: clamp(32px, 4.2vw, 52px);
  line-height: 1.16;
  font-weight: 900;
  letter-spacing: -.6px;
  color: #f0f7ff;
}

.bt-hero h1 em {
  font-style: normal;
  color: #67e8f9;
}

.bt-hero .lead {
  margin-top: 18px;
  max-width: 540px;
  font-size: 15.5px;
  line-height: 1.95;
  color: #93a7c0;
}

.bt-hero .lead strong { color: #dbe6f5; }

.bt-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.bt-hero .btn-room { color: #dbe6f5; border-color: rgba(103, 232, 249, .45); }
.bt-hero .btn-room b { color: #67e8f9; }

.bt-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 24px;
  font-family: var(--mono);
  font-size: 11px;
  color: #5f7590;
}

.bt-hero-meta b { color: #67e8f9; }

.bt-visual {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(34, 211, 238, .22);
  box-shadow: 0 34px 80px rgba(0, 0, 0, .6);
}

/* ---------- 概览磁贴 ---------- */
.bt-tiles {
  margin-top: -24px;
  position: relative;
  z-index: 2;
}

.bt-tiles-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }

.bt-tile {
  padding: 18px 20px;
  border-radius: 12px;
  background: #0c1626;
  border: 1px solid rgba(34, 211, 238, .16);
}

.bt-tile span { font-family: var(--mono); font-size: 10.5px; letter-spacing: 1.2px; color: #5f7590; }
.bt-tile b { display: block; margin-top: 7px; font-size: 20px; font-weight: 800; color: #f0f7ff; line-height: 1.25; }
.bt-tile b.green { color: #4ade80; }
.bt-tile b.cyan { color: #67e8f9; }
.bt-tile small { display: block; margin-top: 4px; font-size: 11.5px; color: #5f7590; }

/* ---------- 通用 ---------- */
.bt-sec { padding: 68px 0; }
.bt-sec.tint { background: #0a1322; }
.bt-sec.paper { background: #f5f8fc; color: var(--ink); }

.bt-head { max-width: 720px; margin-bottom: 30px; }
.bt-head .k { font-family: var(--mono); font-size: 11px; letter-spacing: 2.2px; color: #22d3ee; text-transform: uppercase; }
.bt-head h2 { margin-top: 9px; font-size: clamp(23px, 2.9vw, 33px); font-weight: 900; line-height: 1.32; color: #f0f7ff; letter-spacing: -.3px; }
.bt-head p { margin-top: 9px; font-size: 14.5px; color: #93a7c0; line-height: 1.85; }
.bt-head a { color: #67e8f9; font-weight: 700; }

/* ---------- 对话 ---------- */
.bt-chat {
  max-width: 760px;
  padding: 26px;
  border-radius: 18px;
  background: #0b1626;
  border: 1px solid rgba(34, 211, 238, .16);
}

.bt-chat + .bt-chat { margin-top: 16px; }

.bt-msg { display: flex; gap: 12px; margin-bottom: 16px; }
.bt-msg:last-child { margin-bottom: 0; }

.bt-msg .av {
  flex: none;
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: linear-gradient(145deg, #8b5cf6, #4c1d95);
  color: #fff;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
}

.bt-msg.user { flex-direction: row-reverse; }

.bt-msg.user .av {
  background: #17324a;
  color: #93c5fd;
}

.bt-bubble {
  max-width: 78%;
  padding: 13px 16px;
  border-radius: 4px 14px 14px 14px;
  background: #12203a;
  border: 1px solid rgba(34, 211, 238, .12);
  font-size: 13.5px;
  line-height: 1.8;
  color: #c7d6e8;
}

.bt-msg.user .bt-bubble {
  border-radius: 14px 4px 14px 14px;
  background: #14304a;
  color: #d7e9f8;
}

.bt-bubble b { color: #67e8f9; }
.bt-bubble .t { display: block; margin-top: 6px; font-family: var(--mono); font-size: 10px; color: #526a84; }

.bt-typing {
  display: inline-flex;
  gap: 5px;
  align-items: center;
  padding: 14px 16px;
  border-radius: 4px 14px 14px 14px;
  background: #12203a;
}

.bt-typing i {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #22d3ee;
  opacity: .4;
  animation: btBlink 1.2s infinite;
}

.bt-typing i:nth-child(2) { animation-delay: .2s; }
.bt-typing i:nth-child(3) { animation-delay: .4s; }

@keyframes btBlink {
  0%, 100% { opacity: .25; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(-3px); }
}

@media (prefers-reduced-motion: reduce) {
  .bt-typing i { animation: none; opacity: .6; }
}

/* ---------- 能力卡 ---------- */
.bt-caps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }

.bt-cap {
  padding: 22px;
  border-radius: 14px;
  background: #0c1626;
  border: 1px solid rgba(34, 211, 238, .14);
  transition: transform .25s, border-color .25s;
}

.bt-cap:hover { transform: translateY(-3px); border-color: rgba(34, 211, 238, .4); }

.bt-cap .ic {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: rgba(34, 211, 238, .12);
  color: #67e8f9;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
}

.bt-cap h3 { margin-top: 13px; font-size: 15.5px; font-weight: 800; color: #f0f7ff; }
.bt-cap p { margin-top: 6px; font-size: 13px; color: #93a7c0; line-height: 1.8; }

/* ---------- 不处理 ---------- */
.bt-nope { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.bt-nope li {
  display: flex;
  gap: 12px;
  padding: 15px 17px;
  border-radius: 10px;
  background: rgba(244, 63, 94, .06);
  border: 1px solid rgba(244, 63, 94, .24);
  font-size: 13.5px;
  color: #c9b6c0;
  line-height: 1.75;
}

.bt-nope li::before { content: "✕"; color: #fb7185; font-weight: 900; flex: none; }

/* ---------- 应答机制 ---------- */
.bt-flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; counter-reset: f; }

.bt-flow div {
  position: relative;
  padding: 24px;
  border-radius: 14px;
  background: #0c1626;
  border: 1px solid rgba(34, 211, 238, .14);
}

.bt-flow div::before {
  counter-increment: f;
  content: "0" counter(f);
  font-family: Georgia, serif;
  font-size: 32px;
  font-weight: 700;
  color: rgba(34, 211, 238, .3);
  line-height: 1;
}

.bt-flow h3 { margin-top: 10px; font-size: 16px; font-weight: 800; color: #f0f7ff; }
.bt-flow p { margin-top: 6px; font-size: 13px; color: #93a7c0; line-height: 1.8; }

/* ---------- 转接路径 ---------- */
.bt-handoff { display: grid; gap: 0; max-width: 820px; }

.bt-handoff li {
  position: relative;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  padding: 0 0 24px;
}

.bt-handoff li:last-child { padding-bottom: 0; }

.bt-handoff li::before {
  content: "";
  position: absolute;
  left: 128px; top: 26px; bottom: 4px;
  width: 1px;
  background: rgba(34, 211, 238, .2);
}

.bt-handoff li:last-child::before { display: none; }

.bt-handoff .st {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 1.4px;
  color: #22d3ee;
  text-align: right;
  padding-top: 4px;
}

.bt-handoff .body { position: relative; padding-left: 22px; }
.bt-handoff .body::before {
  content: "";
  position: absolute;
  left: -4px; top: 7px;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: #080f1e;
  border: 2px solid #22d3ee;
}

.bt-handoff b { display: block; font-size: 14.5px; color: #f0f7ff; }
.bt-handoff p { margin-top: 4px; font-size: 13px; color: #93a7c0; line-height: 1.8; }

/* ---------- 表格 ---------- */
.bt-table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(34, 211, 238, .14);
  border-radius: 12px;
  background: #0c1626;
}

.bt-table { width: 100%; border-collapse: collapse; font-size: 13.5px; min-width: 600px; }

.bt-table th {
  text-align: left;
  padding: 12px 16px;
  background: #0a1626;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 1.1px;
  color: #5f7590;
  border-bottom: 1px solid rgba(34, 211, 238, .14);
}

.bt-table td { padding: 13px 16px; border-bottom: 1px solid rgba(34, 211, 238, .07); color: #93a7c0; }
.bt-table tr:last-child td { border-bottom: 0; }
.bt-table td:first-child { color: #dbe6f5; font-weight: 700; }
.bt-table .ok { color: #4ade80; font-weight: 700; }
.bt-table .cy { color: #67e8f9; font-weight: 700; }

/* ---------- 指令 ---------- */
.bt-cmds { display: grid; gap: 8px; }

.bt-cmd {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 20px;
  align-items: center;
  padding: 14px 18px;
  border-radius: 10px;
  background: #0a1322;
  border: 1px solid rgba(34, 211, 238, .12);
}

.bt-cmd code {
  font-family: var(--mono);
  font-size: 12.5px;
  color: #67e8f9;
  background: rgba(34, 211, 238, .08);
  padding: 3px 9px;
  border-radius: 5px;
  justify-self: start;
}

.bt-cmd span { font-size: 13px; color: #93a7c0; }

/* ---------- 场景 ---------- */
.bt-scenes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }

.bt-scene {
  padding: 22px;
  border-radius: 14px;
  background: #0c1626;
  border: 1px solid rgba(34, 211, 238, .14);
}

.bt-scene .t { font-family: var(--mono); font-size: 10.5px; letter-spacing: 1.4px; color: #22d3ee; }
.bt-scene h3 { margin-top: 8px; font-size: 15.5px; font-weight: 800; color: #f0f7ff; }
.bt-scene p { margin-top: 6px; font-size: 13px; color: #93a7c0; line-height: 1.8; }

/* ---------- 隐私 ---------- */
.bt-privacy { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.bt-privacy > div {
  padding: 24px;
  border-radius: 14px;
  background: #0c1626;
  border: 1px solid rgba(34, 211, 238, .14);
}

.bt-privacy h3 { font-size: 15.5px; font-weight: 800; color: #f0f7ff; padding-bottom: 12px; border-bottom: 1px solid rgba(34, 211, 238, .12); }
.bt-privacy ul { margin-top: 12px; display: grid; gap: 8px; font-size: 13px; color: #93a7c0; }
.bt-privacy li { display: flex; gap: 9px; line-height: 1.7; }
.bt-privacy .yes li::before { content: "✓"; color: #4ade80; font-weight: 900; }
.bt-privacy .no li::before { content: "✕"; color: #fb7185; font-weight: 900; }

/* ---------- 安全 ---------- */
.bt-safe { display: grid; gap: 8px; }

.bt-safe li {
  display: flex;
  gap: 12px;
  padding: 13px 16px;
  border-radius: 9px;
  background: #0c1626;
  border: 1px solid rgba(34, 211, 238, .12);
  font-size: 13px;
  color: #93a7c0;
}

.bt-safe li::before { content: "▸"; color: #22d3ee; }

/* ---------- FAQ ---------- */
.bt-faq { display: grid; gap: 8px; max-width: 840px; }

.bt-acc {
  border: 1px solid rgba(34, 211, 238, .14);
  border-radius: 10px;
  background: #0c1626;
  overflow: hidden;
}

.bt-acc .acc-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 15px 18px;
  border: 0;
  background: none;
  text-align: left;
  font-size: 14px;
  font-weight: 700;
  color: #dbe6f5;
}

.bt-acc .acc-trigger::after { content: "+"; color: #22d3ee; font-size: 16px; transition: transform .25s; }
.bt-acc.is-open .acc-trigger::after { transform: rotate(45deg); }

.bt-acc .acc-body { display: none; padding: 0 18px 15px; font-size: 13px; color: #93a7c0; line-height: 1.85; }
.bt-acc.is-open .acc-body { display: block; }
.bt-acc .acc-body a { color: #67e8f9; font-weight: 700; }

/* ---------- 相关 ---------- */
.bt-rel { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }

.bt-rel a {
  padding: 16px 18px;
  border-radius: 10px;
  background: #0c1626;
  border: 1px solid rgba(34, 211, 238, .12);
  transition: border-color .2s, transform .2s;
}

.bt-rel a:hover { border-color: rgba(34, 211, 238, .4); transform: translateY(-2px); }
.bt-rel b { display: block; font-size: 13.5px; color: #f0f7ff; }
.bt-rel span { display: block; margin-top: 3px; font-size: 12px; color: #5f7590; }

/* ---------- CTA ---------- */
.bt-cta {
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(34, 211, 238, .2), transparent 70%),
    #050a14;
  padding: 68px 0;
  text-align: center;
  border-top: 1px solid rgba(34, 211, 238, .14);
}

.bt-cta h2 { font-size: clamp(24px, 3.1vw, 36px); font-weight: 900; color: #f0f7ff; }
.bt-cta p { margin: 11px auto 0; max-width: 580px; font-size: 14px; color: #93a7c0; }
.bt-cta .row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 24px; }
.bt-cta .tg-link { border-color: rgba(103, 232, 249, .3); color: #dbe6f5; }
.bt-cta .tg-link:hover { background: rgba(34, 211, 238, .12); border-color: #67e8f9; }
.bt-cta .btn-room { color: #dbe6f5; }

/* ---------- 响应式 ---------- */
@media (max-width: 980px) {
  .bt-hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .bt-tiles-grid { grid-template-columns: 1fr 1fr; }
  .bt-caps { grid-template-columns: 1fr 1fr; }
  .bt-nope { grid-template-columns: 1fr; }
  .bt-flow { grid-template-columns: 1fr; }
  .bt-scenes { grid-template-columns: 1fr; }
  .bt-privacy { grid-template-columns: 1fr; }
  .bt-rel { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  .bt-sec { padding: 52px 0; }
  .bt-tiles-grid { grid-template-columns: 1fr; }
  .bt-caps { grid-template-columns: 1fr; }
  .bt-rel { grid-template-columns: 1fr; }
  .bt-bubble { max-width: 88%; }
  .bt-cmd { grid-template-columns: 1fr; gap: 8px; }
  .bt-handoff li { grid-template-columns: 1fr; gap: 6px; }
  .bt-handoff li::before { display: none; }
  .bt-handoff .st { text-align: left; }
  .bt-actions .btn { width: 100%; }
  .bt-visual { order: 0; }
}
