html {
  font-size: 10px; /* px means "pixels": the base font size is now 10 pixels high */
  font-family:
    "Open Sans", sans-serif; /* this should be the rest of the output you got from Google Fonts */
}
h1 {
  font-size: 54px;
  text-align: center;
  background-color: rgb(201, 236, 247);
  color: aliceblue;
}

p,
li {
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 1px;
  margin: 2%;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}
CARD {
  background-color: rgb(255, 255, 255);
  border-radius: 10px;
  padding: 20px;
  margin: 20px;
}
html {
  background-color: #d4d7da;
}
.interpret-btn {
  font-family: "Noto Serif SC", serif;
  padding: 9px 22px;
  background: none;
  border: 1px solid var(--gold);
  color: var(--gold);
  border-radius: 6px;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s;
  animation: pulse 1.5s ease-in-out infinite;
}
.interpret-btn:hover {
  background: var(--gold);
  color: var(--bg);
}
@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(201, 169, 110, 0.4);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(201, 169, 110, 0);
  }
}
/* 泡泡容器 */
.bubble-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 15px 0;
}

/* 基础泡泡样式 */
.meaning-bubble {
  padding: 8px 15px;
  border: 2px solid #ddd;
  border-radius: 20px;
  background: white;
  cursor: pointer;
  transition: all 0.3s;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
}

.meaning-bubble:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* 关键词 */
.keyword {
  font-weight: bold;
  font-size: 14px;
}

/* 描述 */
.desc {
  font-size: 12px;
  color: #666;
  margin-top: 3px;
}

/* 选中状态 - 强度1 */
.meaning-bubble.selected-1 {
  background: #e3f2fd;
  border-color: #2196f3;
}

/* 选中状态 - 强度2 */
.meaning-bubble.selected-2 {
  background: #90caf9;
  border-color: #1976d2;
  color: white;
}

.meaning-bubble.selected-2 .desc {
  color: #f0f0f0;
}

/* 选中状态 - 强度3（最强调）*/
.meaning-bubble.selected-3 {
  background: #1976d2;
  border-color: #0d47a1;
  color: white;
  font-weight: bold;
  box-shadow: 0 0 15px rgba(25, 118, 210, 0.5);
}

.meaning-bubble.selected-3 .desc {
  color: white;
}

/* 解读汇总 */
.interpretation-summary {
  margin-top: 30px;
  padding: 20px;
  background: #f5f5f5;
  border-radius: 8px;
}

.story-text {
  line-height: 1.8;
  color: #333;
}

.story-text p {
  margin: 10px 0;
}
.highlight-btn {
  display: inline-block; /* 让它显示 */
  font-size: 20px; /* 放大字体 */
  font-weight: 700; /* 加粗 */
  padding: 12px 24px; /* 增大按钮体积 */
  background-color: #ff9800; /* 高亮颜色 */
  color: #fff; /* 白色文字 */
  border: none;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: 0.2s ease;
}

.highlight-btn:hover {
  background-color: #e68900;
  transform: scale(1.05);
}

.btn {
  font-family: "Noto Serif SC", serif;
  padding: 8px 16px;
  border: none;
  border-radius: 6px;
  background: var(--gold);
  color: var(--bg);
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.2s;
}
.btn:hover {
  background: var(--gold-light);
}
.btn.interpret {
  background: #3d2d5c;
  color: #c4a8e8;
  border: 1px solid #6a4d9a;
}
.btn.interpret:hover {
  background: #4e3a72;
  color: #ddd0ff;
}
