/* ===== 坂崎由莉可爱风配色方案===== */

/* ===== 坂崎由莉的台词 - 鲜艳粉色可爱风 ===== */
.Jinx-dialogue,
span.Jinx-dialogue,
div.Jinx-dialogue,
p.Jinx-dialogue {
  color: #FF69B4 !important;
  font-weight: 500 !important;
  font-family: "Comic Sans MS", "Segoe UI Emoji", "Apple Color Emoji", "PingFang SC", "Microsoft YaHei", cursive, sans-serif !important;
  text-shadow: 0 1px 2px rgba(255, 105, 180, 0.2) !important;
  letter-spacing: 0.8px !important;
  text-decoration: none !important;
  border-bottom: none !important;
}

[class="Jinx-dialogue"],
[class*=" Jinx-dialogue"],
[class*="Jinx-dialogue "],
[class~="Jinx-dialogue"] {
  color: #FF69B4 !important;
  font-weight: 500 !important;
  font-family: "Comic Sans MS", "Segoe UI Emoji", "Apple Color Emoji", "PingFang SC", "Microsoft YaHei", cursive, sans-serif !important;
  text-shadow: 0 1px 2px rgba(255, 105, 180, 0.2) !important;
  letter-spacing: 0.8px !important;
  text-decoration: none !important;
  border-bottom: none !important;
}

/* 新增：兼容任意元素、伪包裹、属性标记 */
*:is(.Jinx-dialogue, [class~="Jinx-dialogue"], [data-role="Jinx-dialogue"], [data-class="Jinx-dialogue"], [role="Jinx-dialogue"], [name="Jinx-dialogue"]) {
  color: #FF69B4 !important;
  font-weight: 500 !important;
  font-family: "Comic Sans MS", "Segoe UI Emoji", "Apple Color Emoji", "PingFang SC", "Microsoft YaHei", cursive, sans-serif !important;
  text-shadow: 0 1px 2px rgba(255, 105, 180, 0.2) !important;
  letter-spacing: 0.8px !important;
  text-decoration: none !important;
  border-bottom: none !important;
}

/* 新增：若包裹层缺失，但文本被塞进子节点，强制继承样式 */
.Jinx-dialogue,
[class~="Jinx-dialogue"],
[data-role="Jinx-dialogue"],
[data-class="Jinx-dialogue"],
[role="Jinx-dialogue"],
[name="Jinx-dialogue"],
.Jinx-dialogue *,
[class~="Jinx-dialogue"] *,
[data-role="Jinx-dialogue"] *,
[data-class="Jinx-dialogue"] *,
[role="Jinx-dialogue"] *,
[name="Jinx-dialogue"] * {
  color: inherit !important;
  font-weight: inherit !important;
  font-family: inherit !important;
  text-shadow: inherit !important;
  letter-spacing: inherit !important;
  text-decoration: none !important;
  border-bottom: none !important;
}

/* 重新把根节点样式打回去，避免被上面的 inherit 覆盖 */
.Jinx-dialogue,
[class~="Jinx-dialogue"],
[data-role="Jinx-dialogue"],
[data-class="Jinx-dialogue"],
[role="Jinx-dialogue"],
[name="Jinx-dialogue"] {
  color: #FF69B4 !important;
  font-weight: 500 !important;
  font-family: "Comic Sans MS", "Segoe UI Emoji", "Apple Color Emoji", "PingFang SC", "Microsoft YaHei", cursive, sans-serif !important;
  text-shadow: 0 1px 2px rgba(255, 105, 180, 0.2) !important;
  letter-spacing: 0.8px !important;
  text-decoration: none !important;
  border-bottom: none !important;
}


/* ===== 坂崎由莉的内心独白 - 鲜艳蓝色可爱风 ===== */
.Jinx-Thought,
span.Jinx-Thought,
div.Jinx-Thought,
p.Jinx-Thought {
  color: #4A90E2 !important;
  font-weight: 400 !important;
  font-family: "Comic Sans MS", "Segoe UI Emoji", "Apple Color Emoji", "PingFang SC", "Microsoft YaHei", cursive, sans-serif !important;
  opacity: 1 !important;
  padding-left: 12px !important;
  border-left: 3px solid rgba(74, 144, 226, 0.5) !important;
  display: inline-block !important;
  letter-spacing: 0.8px !important;
  text-decoration: none !important;
  border-bottom: none !important;
}

[class="Jinx-Thought"],
[class*=" Jinx-Thought"],
[class*="Jinx-Thought "],
[class~="Jinx-Thought"] {
  color: #4A90E2 !important;
  font-weight: 400 !important;
  font-family: "Comic Sans MS", "Segoe UI Emoji", "Apple Color Emoji", "PingFang SC", "Microsoft YaHei", cursive, sans-serif !important;
  opacity: 1 !important;
  padding-left: 12px !important;
  border-left: 3px solid rgba(74, 144, 226, 0.5) !important;
  display: inline-block !important;
  letter-spacing: 0.8px !important;
  text-decoration: none !important;
  border-bottom: none !important;
}

/* 新增：兼容任意元素、伪包裹、属性标记 */
*:is(.Jinx-Thought, [class~="Jinx-Thought"], [data-role="Jinx-Thought"], [data-class="Jinx-Thought"], [role="Jinx-Thought"], [name="Jinx-Thought"]) {
  color: #4A90E2 !important;
  font-weight: 400 !important;
  font-family: "Comic Sans MS", "Segoe UI Emoji", "Apple Color Emoji", "PingFang SC", "Microsoft YaHei", cursive, sans-serif !important;
  opacity: 1 !important;
  padding-left: 12px !important;
  border-left: 3px solid rgba(74, 144, 226, 0.5) !important;
  display: inline-block !important;
  letter-spacing: 0.8px !important;
  text-decoration: none !important;
  border-bottom: none !important;
}

/* 新增：子节点继承，解决内容落进内层节点导致样式断掉 */
.Jinx-Thought,
[class~="Jinx-Thought"],
[data-role="Jinx-Thought"],
[data-class="Jinx-Thought"],
[role="Jinx-Thought"],
[name="Jinx-Thought"],
.Jinx-Thought *,
[class~="Jinx-Thought"] *,
[data-role="Jinx-Thought"] *,
[data-class="Jinx-Thought"] *,
[role="Jinx-Thought"] *,
[name="Jinx-Thought"] * {
  color: inherit !important;
  font-weight: inherit !important;
  font-family: inherit !important;
  opacity: inherit !important;
  letter-spacing: inherit !important;
  text-decoration: none !important;
  border-bottom: none !important;
}

/* 重新把根节点样式打回去，避免被上面的 inherit 覆盖 */
.Jinx-Thought,
[class~="Jinx-Thought"],
[data-role="Jinx-Thought"],
[data-class="Jinx-Thought"],
[role="Jinx-Thought"],
[name="Jinx-Thought"] {
  color: #4A90E2 !important;
  font-weight: 400 !important;
  font-family: "Comic Sans MS", "Segoe UI Emoji", "Apple Color Emoji", "PingFang SC", "Microsoft YaHei", cursive, sans-serif !important;
  opacity: 1 !important;
  padding-left: 12px !important;
  border-left: 3px solid rgba(74, 144, 226, 0.5) !important;
  display: inline-block !important;
  letter-spacing: 0.8px !important;
  text-decoration: none !important;
  border-bottom: none !important;
}


/* ===== 所有非主角角色的台词 - 深灰黑加粗 ===== */
.other,
span.other,
div.other,
p.other {
  color: #2C2C2C !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  border-bottom: none !important;
}

[class="other"],
[class*=" other"],
[class*="other "],
[class~="other"] {
  color: #2C2C2C !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  border-bottom: none !important;
}

/* 新增：兼容任意元素、伪包裹、属性标记 */
*:is(.other, [class~="other"], [data-role="other"], [data-class="other"], [role="other"], [name="other"]) {
  color: #2C2C2C !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  border-bottom: none !important;
}

/* 新增：子节点继承，解决文字跑进内层元素的情况 */
.other,
[class~="other"],
[data-role="other"],
[data-class="other"],
[role="other"],
[name="other"],
.other *,
[class~="other"] *,
[data-role="other"] *,
[data-class="other"] *,
[role="other"] *,
[name="other"] * {
  color: inherit !important;
  font-weight: inherit !important;
  text-decoration: none !important;
  border-bottom: none !important;
}

/* 重新把根节点样式打回去，避免被上面的 inherit 覆盖 */
.other,
[class~="other"],
[data-role="other"],
[data-class="other"],
[role="other"],
[name="other"] {
  color: #2C2C2C !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  border-bottom: none !important;
}