/* ===== 极简重置 + 柔和变量 ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
  background: #f6f8fa;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 24px 16px;
}

.catalogeu-navigation-plugin-floatbar-guide {
  width: 100%;
  max-width: 820px;
}

.card {
  background: #ffffff;
  border-radius: 28px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06), 0 4px 12px rgba(0, 0, 0, 0.03);
  padding: 28px 32px 32px;
  transition: box-shadow 0.2s;
}

.header h1 {
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.3px;
  color: #0b1b33;
  margin-bottom: 2px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.header h1 .logo-icon {
  display: inline-block;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  margin-right: 2px;
}

.header h1 .logo-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.header .badge-new {
  background: #f97316;
  color: white;
  font-size: 14px;
  font-weight: 600;
  padding: 2px 14px;
  border-radius: 30px;
  letter-spacing: 0.3px;
  margin-left: 6px;
  box-shadow: 0 2px 6px rgba(249, 115, 22, 0.25);
}

.subhead {
  font-size: 15px;
  color: #4a5a7a;
  margin-top: 2px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.subhead .badge-new {
  background: #f97316;
  color: white;
  font-size: 12px;
  font-weight: 600;
  padding: 0 12px;
  border-radius: 30px;
  line-height: 22px;
}

.chat-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 24px 0 18px;
}

.message {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.message.question {
  margin-top: 4px;
}

.message.answer {
  margin-left: 8px;
}

/* ===== 头像：问 / 答 ===== */
.avatar {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  background: #eef2f6;
  color: #1f2a44;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
  margin-top: 2px;
}

/* 问：蓝色系 */
.message.question .avatar {
  background: #dbeafe;
  color: #1a4b8c;
}

/* 答：橙色/琥珀系 */
.message.answer .avatar {
  background: #fef3c7;
  color: #9b6b0b;
}

.bubble {
  flex: 1;
  background: #f9fafc;
  padding: 14px 20px 16px;
  border-radius: 18px;
  border: 1px solid #eaedf2;
  line-height: 1.6;
  font-size: 15px;
  color: #1e293b;
}

.message.question .bubble {
  background: #f2f5f9;
  border-color: #e2e8f0;
}

.message.answer .bubble {
  background: #ffffff;
  border-color: #e9edf4;
}

.bubble h3 {
  font-size: 16px;
  font-weight: 600;
  color: #0b1b33;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

/* 新功能标记（小） */
.tag-new {
  background: #f97316;
  color: white;
  font-size: 12px;
  font-weight: 700;
  padding: 0 12px;
  border-radius: 30px;
  line-height: 22px;
  letter-spacing: 0.2px;
  display: inline-block;
  margin-left: 4px;
}

.bubble p,
.bubble li {
  color: #25324b;
}

.bubble ol,
.bubble ul {
  padding-left: 22px;
  margin: 8px 0 6px;
}

.bubble li {
  margin-bottom: 4px;
}

.bubble a {
  color: #1f5f9e;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.bubble a:hover {
  border-bottom-color: #1f5f9e;
}

.svg {
  display: inline-block;
  vertical-align: middle;
  width: 18px;
  height: 18px;
  background: transparent;
  margin: 0 2px;
}

.svg.tree {
  width: 20px;
  height: 20px;
}

/* 鼠标图标特殊样式 */
.icon-mouse {
  display: inline-block;
  vertical-align: middle;
  width: 22px;
  height: 22px;
  margin-right: 2px;
}

.icon-mouse svg {
  width: 100%;
  height: 100%;
  display: block;
}

.text1 {
  font-weight: 500;
  color: #1a3a6b;
}

.icon {
  display: inline-block;
  background: #eef2f6;
  padding: 0 6px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 500;
  margin: 0 2px;
}

/* ===== 底部感言 + 好评区 ===== */
.footer-sentiment {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid #e9edf4;
  text-align: center;
}

.dev-message {
  background: #f0f4fe;
  border-radius: 20px;
  padding: 20px 24px;
  margin: 0 0 16px 0;
  border-left: 6px solid #1a4b8c;
  color: #1a2b4a;
  font-size: 15px;
  line-height: 1.7;
  text-align: left;
}

.dev-message strong {
  color: #0b2b5c;
}

.dev-message .highlight {
  background: #fef3c7;
  padding: 0 6px;
  border-radius: 6px;
  font-weight: 500;
}

.footer-sentiment p {
  color: #2c3f5e;
  font-size: 15px;
  margin-bottom: 14px;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin: 16px 0 10px;
}

.btn {
  display: inline-block;
  background: #1a3a6b;
  color: white;
  padding: 10px 28px;
  border-radius: 60px;
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
  transition: background 0.2s, transform 0.1s;
  box-shadow: 0 4px 10px rgba(26, 58, 107, 0.12);
  border: none;
  cursor: pointer;
}

.btn:hover {
  background: #0f2c52;
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: #1a3a6b;
  box-shadow: inset 0 0 0 1.5px #1a3a6b, 0 2px 6px rgba(0, 0, 0, 0.02);
}

.btn-outline:hover {
  background: #f0f4fc;
  transform: translateY(-1px);
}

.footer-sentiment a[href^="mailto"] {
  color: #1f5f9e;
  border-bottom: 1px dotted #b3c6df;
}

.footer-sentiment a[href^="mailto"]:hover {
  border-bottom-color: #1f5f9e;
}

@media (max-width: 550px) {
  .card {
    padding: 18px 14px 20px;
  }

  .bubble {
    padding: 12px 14px;
    font-size: 14px;
  }

  .avatar {
    width: 32px;
    height: 32px;
    font-size: 15px;
  }

  .header h1 {
    font-size: 20px;
  }

  .header h1 .logo-icon {
    width: 28px;
    height: 28px;
  }

  .btn {
    padding: 8px 20px;
    font-size: 14px;
  }

  .btn-group {
    gap: 10px;
  }

  .dev-message {
    padding: 16px 18px;
    font-size: 14px;
  }

  .icon-mouse {
    width: 18px;
    height: 18px;
  }
}