/* ============================================================
   开场 / 炼丹 / 渡劫
   ============================================================ */

/* ---------- 开场 ---------- */
.view--intro {
  position: relative;
  z-index: 1;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  overflow-y: auto;
}

.intro__title {
  font-family: var(--serif);
  font-size: clamp(34px, 6vw, 52px);
  letter-spacing: 0.5em;
  margin: 0 0 14px;
  text-indent: 0.5em;
  background: linear-gradient(180deg, #f2efe6, #b9b5a8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.intro__sub {
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.62em;
  color: var(--t-2);
  text-indent: 0.62em;
  margin-bottom: 8px;
}

.intro__rule {
  width: 120px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-bright), transparent);
  margin: 26px 0 30px;
}

.intro__prompt {
  font-size: 12px;
  color: var(--t-2);
  letter-spacing: 0.16em;
  margin-bottom: 22px;
}

.origins {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  width: min(920px, 100%);
  margin-bottom: 30px;
}

.origin {
  text-align: left;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--ink-2);
  transition: all 0.2s var(--ease);
  position: relative;
}

.origin:hover {
  border-color: var(--line-bright);
  background: var(--ink-3);
  transform: translateY(-1px);
}

.origin.is-active {
  border-color: var(--qing-dim);
  background: var(--ink-3);
  box-shadow: inset 0 0 0 1px rgba(93, 202, 165, 0.18);
}

.origin.is-active::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--qing);
  opacity: 0.7;
}

.origin__name {
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: 0.08em;
  color: var(--t-0);
  margin-bottom: 5px;
}

.origin__traits {
  font-size: 11px;
  color: var(--qing);
  opacity: 0.8;
  margin-bottom: 6px;
}

.origin__hint {
  font-size: 10.5px;
  color: var(--t-3);
  line-height: 1.5;
}

.intro__start {
  padding: 11px 34px;
  border: 1px solid var(--line-bright);
  border-radius: var(--r-sm);
  font-family: var(--serif);
  font-size: 14px;
  letter-spacing: 0.3em;
  color: var(--t-0);
  transition: all 0.22s var(--ease);
  text-indent: 0.3em;
}

.intro__start:hover:not(:disabled) {
  border-color: var(--qing);
  color: var(--qing);
  box-shadow: 0 0 24px rgba(93, 202, 165, 0.12);
}

.intro__start:disabled {
  /* 0.35 太淡了，屏幕上几乎看不见这个按钮存在。
     它是"还差一步"，不是"这儿没东西" */
  opacity: 0.55;
  cursor: not-allowed;
}

@media (max-width: 900px) {
  .origins {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ============================================================
   炼丹
   ============================================================ */
.craft {
  width: min(880px, 100%);
  min-height: 430px;
  background: linear-gradient(180deg, var(--ink-2), var(--ink-1));
  border: 1px solid var(--line-bright);
  border-radius: var(--r-md);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  max-height: 88vh;
  animation: panel-in 0.32s var(--ease-out) both;
}

.craft__head {
  padding: 20px 26px 16px;
  border-bottom: 1px solid var(--line-soft);
  display: flex;
  align-items: center;
  gap: 16px;
}

.craft__title {
  font-family: var(--serif);
  font-size: 19px;
  letter-spacing: 0.14em;
}

.craft__rounds {
  margin-left: auto;
  display: flex;
  gap: 5px;
  align-items: center;
}

.dot-round {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ink-4);
  transition: all 0.3s var(--ease);
}

.dot-round.is-done {
  background: var(--qing);
  box-shadow: 0 0 8px rgba(93, 202, 165, 0.5);
}

.dot-round.is-now {
  background: var(--jin);
  box-shadow: 0 0 10px rgba(217, 164, 65, 0.7);
  animation: pulse 1.4s ease-in-out infinite;
}

.craft__body {
  display: grid;
  grid-template-columns: 250px 1fr;
  min-height: 0;
  flex: 1;
}

.craft__gauges {
  border-right: 1px solid var(--line-soft);
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.gauge {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.gauge__label {
  display: flex;
  justify-content: space-between;
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: var(--t-2);
}

.gauge__label b {
  font-weight: 400;
  color: var(--t-1);
  font-variant-numeric: tabular-nums;
}

.gauge__track {
  height: 5px;
  background: var(--ink-3);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}

.gauge__fill {
  height: 100%;
  border-radius: 2px;
  transition: width 0.6s var(--ease);
  position: relative;
  z-index: 1;
}

.gauge--heat .gauge__fill {
  background: linear-gradient(90deg, #6a2b29, #c0504d, #e0864d);
}
.gauge--impure .gauge__fill {
  background: linear-gradient(90deg, #4a3d63, #c9a7ff);
}
.gauge--qi .gauge__fill {
  background: linear-gradient(90deg, #2c6353, #5dcaa5);
}

/* 安全区间：上下各一条金线，中间淡底 */
.gauge__safe {
  position: absolute;
  top: 0;
  bottom: 0;
  border-left: 1px solid rgba(217, 164, 65, 0.55);
  border-right: 1px solid rgba(217, 164, 65, 0.55);
  background: rgba(217, 164, 65, 0.1);
  pointer-events: none;
  z-index: 0;
}

.craft__log {
  padding: 18px 24px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.craft__act {
  font-size: 12px;
  color: var(--t-2);
  padding-left: 12px;
  border-left: 1px solid var(--line);
  line-height: 1.65;
}

.craft__act b {
  font-weight: 400;
  color: var(--t-1);
}

.craft__act--player b {
  color: var(--lan);
}

.craft__judge {
  font-size: 12px;
  color: var(--t-1);
  line-height: 1.8;
}

/* 揭锅那一句。成了用青色，塌了用朱色——一眼就知道这一炉白没白烧 */
.craft__close {
  margin-top: 6px;
  padding-top: 10px;
  border-top: 1px solid var(--line-soft);
  font-size: 12.5px;
  line-height: 1.9;
  color: #c0504d;
}

.craft__close.is-ok {
  color: var(--qing);
}

/* ---------- 丹方列表 ---------- */

/* 列表页只有一列。.craft__body 默认是 250px + 1fr 的炉子布局 */
.craft--picker .craft__body {
  grid-template-columns: 1fr;
}

/* 两张方子撑不到 430px，留那么高就是一整屏的空 */
.craft--picker {
  min-height: 320px;
}

.craft__meta {
  margin-left: auto;
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: var(--t-3);
  font-variant-numeric: tabular-nums;
}

.craft__lead {
  font-size: 11.5px;
  color: var(--t-2);
  letter-spacing: 0.04em;
  padding: 0 2px 4px;
}

.craft__recipes {
  padding: 18px 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow-y: auto;
}

.recipe {
  display: grid;
  grid-template-columns: 96px 1fr auto;
  grid-template-areas:
    'name desc why'
    'name meta why';
  gap: 2px 16px;
  align-items: center;
  text-align: left;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--ink-2);
  transition: all 0.18s var(--ease);
  cursor: pointer;
}

.recipe:hover:not(:disabled) {
  border-color: var(--qing-dim);
  background: rgba(93, 202, 165, 0.06);
}

/* 开不了的方子：整块压暗会让"为什么开不了"也跟着糊掉，
   所以只压字色，红色的理由留着——那句话才是玩家要看的 */
.recipe.is-off {
  cursor: not-allowed;
  border-color: var(--line-soft);
  background: transparent;
}

.recipe.is-off .recipe__name {
  color: var(--t-2);
}

.recipe.is-off .recipe__desc,
.recipe.is-off .recipe__meta {
  color: var(--t-3);
}

.recipe__name {
  grid-area: name;
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: 0.1em;
  color: var(--t-0);
}

.recipe__desc {
  grid-area: desc;
  font-size: 11.5px;
  color: var(--t-2);
  line-height: 1.6;
}

.recipe__meta {
  grid-area: meta;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--t-3);
  font-variant-numeric: tabular-nums;
}

.recipe__mat.is-lack {
  color: #c0504d;
}

.recipe__why {
  grid-area: why;
  font-size: 11px;
  color: #c0504d;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

/* 能开的那几张，右边得写"起炉"。
   以前这里是空的：整行是个按钮，但看上去和一段说明文字没区别——
   玩家读完两张方子，找不到"开始"在哪。看得见的入口才叫入口 */
.recipe__go {
  grid-area: why;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--qing-dim);
  white-space: nowrap;
  transition: color 0.18s var(--ease), transform 0.18s var(--ease);
}

.recipe:hover:not(:disabled) .recipe__go {
  color: var(--qing);
  transform: translateX(2px);
}

.craft__notice {
  margin-top: 4px;
  font-size: 11.5px;
  color: #c0504d;
  letter-spacing: 0.04em;
}

/* 撤火 / 收炉。放在回合点右边，跟「行」分开，免得手滑 */
.craft__quit {
  padding: 5px 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--t-3);
  transition: all 0.18s var(--ease);
}

.craft__quit:hover {
  border-color: #6a2b29;
  color: #c0504d;
}

.craft__foot {
  border-top: 1px solid var(--line-soft);
  padding: 14px 24px 18px;
  display: flex;
  gap: 10px;
  align-items: center;
}

.craft__input {
  flex: 1;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  font-size: 12.5px;
  background: var(--ink-1);
  transition: border-color 0.2s var(--ease);
}

.craft__input:focus {
  border-color: var(--qing-dim);
}

.btn-primary {
  padding: 9px 18px;
  border: 1px solid var(--qing-dim);
  border-radius: var(--r-sm);
  color: var(--qing);
  font-size: 12.5px;
  letter-spacing: 0.1em;
  transition: all 0.2s var(--ease);
  white-space: nowrap;
}

.btn-primary:hover {
  background: rgba(93, 202, 165, 0.08);
  border-color: var(--qing);
}

.btn-primary:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

/* ============================================================
   渡劫
   ============================================================ */
.trib {
  width: min(760px, 100%);
  background: linear-gradient(180deg, #14090a, var(--ink-1) 40%);
  border: 1px solid #3a1f20;
  border-radius: var(--r-md);
  box-shadow: 0 24px 90px rgba(80, 10, 10, 0.4);
  padding: 26px 30px 24px;
  animation: panel-in 0.32s var(--ease-out) both;
}

.trib__head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.trib__title {
  font-family: var(--serif);
  font-size: 19px;
  letter-spacing: 0.22em;
  color: #e8b8b3;
  text-shadow: 0 0 16px rgba(192, 80, 77, 0.35);
}

.trib__count {
  margin-left: auto;
  font-size: 11px;
  color: var(--t-2);
  letter-spacing: 0.16em;
}

.bolts {
  display: flex;
  gap: 9px;
  margin-bottom: 24px;
}

.bolt {
  flex: 1;
  height: 4px;
  background: var(--ink-4);
  border-radius: 1px;
  transition: all 0.4s var(--ease);
  transform: skewX(-18deg);
}

.bolt.is-done {
  background: var(--zhu);
  box-shadow: 0 0 10px rgba(192, 80, 77, 0.7);
}

.bolt.is-now {
  background: var(--jin);
  box-shadow: 0 0 14px rgba(217, 164, 65, 0.9);
  animation: pulse 1s ease-in-out infinite;
}

.trib__hp {
  margin-bottom: 22px;
}

.trib__text {
  font-size: 13.5px;
  line-height: 1.95;
  color: var(--t-0);
  min-height: 96px;
  margin-bottom: 22px;
  padding-left: 16px;
  border-left: 2px solid var(--zhu-dim);
}

.trib__choices {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.choice {
  text-align: left;
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--ink-2);
  transition: all 0.18s var(--ease);
}

.choice:hover {
  border-color: var(--zhu);
  background: #1a1213;
}

.choice__name {
  font-size: 12.5px;
  color: var(--t-0);
  margin-bottom: 3px;
}

.choice__note {
  font-size: 10.5px;
  color: var(--t-2);
  line-height: 1.5;
}

.choice--risk .choice__name {
  color: var(--jin);
}

.choice--escape .choice__name {
  color: var(--t-2);
}

.trib__timer {
  margin-top: 16px;
  height: 2px;
  background: var(--ink-4);
  border-radius: 2px;
  overflow: hidden;
}

.trib__timer > i {
  display: block;
  height: 100%;
  background: var(--zhu);
  width: 100%;
  transform-origin: left;
}

.trib__timer.is-running > i {
  animation: timer-drain 15s linear forwards;
}

@keyframes timer-drain {
  to {
    transform: scaleX(0);
  }
}

/* ============================================================
   渡劫
   ------------------------------------------------------------
   这一屏的情绪要压得住：雷用紫色（秘），当前那道用朱（凶险），
   成劫用金。不加动效以外的装饰——文字游戏的分量在字上。
   ============================================================ */
.trib {
  width: min(720px, 100%);
  min-height: 460px;
  background: linear-gradient(180deg, var(--ink-2), var(--ink-1));
  border: 1px solid var(--line-bright);
  border-radius: var(--r-md);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  max-height: 88vh;
  animation: panel-in 0.32s var(--ease-out) both;
}

.trib__head {
  padding: 20px 26px 14px;
  display: flex;
  align-items: baseline;
  gap: 16px;
}

.trib__title {
  font-family: var(--serif);
  font-size: 19px;
  letter-spacing: 0.14em;
}

.trib__count {
  margin-left: auto;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--t-2);
  font-variant-numeric: tabular-nums;
}

/* 九道雷的进度：一条一条，过一道亮一道 */
.bolts {
  display: flex;
  gap: 6px;
  padding: 0 26px 14px;
}

.bolt {
  flex: 1;
  height: 3px;
  border-radius: 2px;
  background: var(--ink-4);
  transition: all 0.3s var(--ease);
}

.bolt.is-done {
  background: var(--zi);
  box-shadow: 0 0 8px rgba(201, 167, 255, 0.5);
}

.bolt.is-now {
  background: var(--zhu);
  box-shadow: 0 0 10px rgba(192, 80, 77, 0.8);
  animation: pulse 1.4s ease-in-out infinite;
}

.trib__hp {
  padding: 0 26px 16px;
}

.trib__body {
  padding: 0 26px 20px;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.trib__lead {
  font-family: var(--serif);
  font-size: 14px;
  line-height: 2;
  color: var(--t-1);
}

/* 雷体 / 无锋 / 凝气丹：三个会变的数 */
.trib__stats {
  display: flex;
  gap: 20px;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--t-2);
}

.trib__stats b {
  color: var(--t-0);
  font-weight: 400;
  font-variant-numeric: tabular-nums;
}

.trib__exp {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.trib__text {
  font-family: var(--serif);
  font-size: 15px;
  line-height: 2;
  color: var(--t-0);
}

.trib__act {
  font-size: 12.5px;
  line-height: 1.9;
  color: var(--t-1);
}

.trib__dmg {
  color: var(--zhu);
  font-weight: 400;
  font-variant-numeric: tabular-nums;
}

.trib__closing {
  font-family: var(--serif);
  font-size: 14px;
  line-height: 2;
  color: var(--t-1);
  border-left: 2px solid var(--line-bright);
  padding-left: 14px;
}

.trib__verdict {
  font-family: var(--serif);
  font-size: 24px;
  letter-spacing: 0.4em;
  text-align: center;
  padding: 8px 0;
}

.trib__verdict.is-win {
  color: var(--jin);
  text-shadow: 0 0 24px rgba(217, 164, 65, 0.4);
}

.trib__verdict.is-lose {
  color: var(--zhu);
}

.trib__why,
.trib__notice {
  font-size: 12px;
  line-height: 1.8;
  color: var(--zhu);
}

/* 雷诀：门槛屏上把五种应对先讲一遍。不教机制，玩家第一道雷只能瞎点 */
.trib__rules {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 14px 0 2px;
  border-top: 1px solid var(--line-soft);
}

.trib__rule {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 10px;
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--t-2);
}

.trib__rule b {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--t-1);
}

.trib__foot {
  padding: 0 26px 22px;
  display: flex;
  justify-content: center;
}

/* 五种应对 */
.trib__choices {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 0 26px 22px;
}

.choice {
  text-align: left;
  padding: 12px 14px;
  background: var(--ink-3);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  color: var(--t-0);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: all 0.2s var(--ease);
}

.choice:hover:not(:disabled) {
  border-color: var(--line-bright);
  background: var(--ink-4);
}

.choice__name {
  font-family: var(--serif);
  font-size: 14px;
  letter-spacing: 0.08em;
}

.choice__sub {
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--t-2);
}

.choice__note {
  font-size: 11px;
  color: var(--t-1);
}

/* 引雷淬体是赌，用朱色边框；遁走是退路，压暗 */
.choice--risk {
  border-color: rgba(192, 80, 77, 0.45);
}

.choice--risk .choice__name {
  color: #e0864d;
}

.choice--escape {
  border-color: rgba(107, 105, 99, 0.4);
}

.choice.is-off {
  opacity: 0.38;
  cursor: not-allowed;
}

.choice.is-off .choice__note {
  color: var(--zhu);
}

@media (max-width: 760px) {
  .craft__body {
    grid-template-columns: 1fr;
  }
  .craft__gauges {
    border-right: 0;
    border-bottom: 1px solid var(--line-soft);
    flex-direction: row;
    flex-wrap: wrap;
  }
  .gauge {
    flex: 1 1 40%;
  }
  .trib__choices {
    grid-template-columns: 1fr 1fr;
  }
}

/* ---------- 十五秒 ----------
   每道雷给 15 秒。这条从满格走到空，最后三秒转朱色。
   **不写 overflow:hidden**——秒数挂在条子上方（top:-16px），
   一裁就没了。任务面板的进度数字踩过同一个坑。
*/
.trib__clock {
  position: relative;
  height: 3px;
  margin: 0 26px 18px;
  background: var(--ink-4);
  border-radius: 2px;
}

.trib__clock[hidden] {
  display: none;
}

.trib__clock-fill {
  height: 100%;
  width: 100%;
  border-radius: 2px;
  background: var(--lan);
  /* 线性，不是缓动——这是一条在走的表，不是一段动画 */
  transition: width 0.1s linear, background 0.3s var(--ease);
}

.trib__clock-fill.is-urgent {
  background: var(--zhu);
}

.trib__clock-num {
  position: absolute;
  right: 0;
  top: -15px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--t-2);
  font-variant-numeric: tabular-nums;
  transition: color 0.3s var(--ease);
}

.trib__clock-num.is-urgent {
  color: var(--zhu);
}

/* 上一道是超时白挨的：表从 0 又跳满。不闪一下，看着像表压根没走过 */
.trib__clock.is-reset {
  animation: trib-clock-reset 0.9s var(--ease) both;
}

@keyframes trib-clock-reset {
  0% {
    box-shadow: 0 0 0 0 rgba(192, 80, 77, 0.7);
  }
  40% {
    box-shadow: 0 0 0 3px rgba(192, 80, 77, 0.35);
  }
  100% {
    box-shadow: 0 0 0 3px rgba(192, 80, 77, 0);
  }
}

/* ============================================================
   心魔
   ------------------------------------------------------------
   和雷劫共用同一块底，但把"用力"的东西全撤掉：
   没有血条、没有秒表、没有红。剩下的是字，和几个选项。
   雷劫考的是手快，心魔考的是敢不敢认——界面不该替玩家使劲。
   ============================================================ */
.trib--heart {
  border-color: rgba(201, 167, 255, 0.22);
}

.heart__body {
  gap: 9px;
  padding-bottom: 24px;
}

.heart__line {
  margin: 0;
  font-family: var(--serif);
  font-size: 14.5px;
  line-height: 2.1;
  color: var(--t-0);
}

.heart__choices {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0 26px 22px;
}

/* 悬停只给"能点"，不给"这个是对的"。
   一点颜色暗示都会把选择变成做题 */
.heart__choice {
  text-align: left;
  padding: 11px 16px;
  background: var(--ink-3);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  color: var(--t-0);
  font-family: var(--serif);
  font-size: 13.5px;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.18s var(--ease), border-color 0.18s var(--ease);
}

.heart__choice:hover {
  background: var(--ink-4);
  border-color: var(--line-bright);
}

.heart__choice:active {
  transform: translateY(1px);
}

.heart__scars {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 0 4px;
  border-top: 1px solid var(--line-soft);
}

.heart__scars-title {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--t-2);
}

.heart__scar {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 8px;
  font-size: 12.5px;
  line-height: 1.8;
  color: var(--t-1);
}

.heart__scar b {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--zi);
}

.heart__closing {
  font-family: var(--serif);
  font-size: 14px;
  line-height: 2;
  color: var(--t-1);
  border-left: 2px solid var(--line-bright);
  padding-left: 14px;
}

/* 心魔不用朱色。朱是雷的凶险，心魔是紫的、闷的、往里的 */
.trib--heart .bolt.is-now {
  background: var(--zi);
  box-shadow: 0 0 10px rgba(201, 167, 255, 0.75);
}

/* 答完那一屏内容少，靠垂直居中撑住，不然下面空一大块 */
.heart__body--done {
  justify-content: center;
  gap: 18px;
}

.heart__note {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--t-2);
  text-align: center;
}

/* ============================================================
   身死道消
   ------------------------------------------------------------
   劫散那一屏本来只有判词和一句话。身死是唯一一种
   "境界真的变了"的结局，所以得多一行：代价落在哪。
   不说清楚，玩家会以为界面坏了——他明明没跌境，却从筑基变成了炼气一层。
   ============================================================ */
.trib__note {
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1px solid var(--line-soft);
  font-size: 12.5px;
  line-height: 1.95;
  letter-spacing: 0.05em;
  color: var(--t-2);
  text-align: center;
}

/* 身死那一行用朱色。这不是提示，是账单 */
.trib__note--death {
  color: var(--zhu);
}
