/* ============================================================
 * 8. Intent Row（本回合大字 + 下回合 footnote）
 * ============================================================ */

/* intent-row 横向布局（≥ 600px）：当前意图在左 + 下回合在右
 * 时间隐喻：当前 = 正在发生（左），下回合 = 等待中（右）
 * 视觉权重：当前 = 主，下回合 = 次（字号小 / 弱色 / 无背景）
 */
#intent-row {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 14px;
  margin-bottom: var(--gap-module);
}

.intent-card {
  flex: 1;
  min-width: 0;
  padding: 10px 14px;
  background: var(--bg-panel);
  border: none;
  border-left: 3px solid var(--gold-primary);
  border-radius: 0;
  font-size: 13px;
  line-height: 1.6;
  position: relative;
  overflow: hidden;
}

.intent-card .intent-layout {
  display: block;
}

.intent-card .intent-body {
  display: block;
}

/* 隐藏装饰：五边形 mark / 标签 / 内部 risk bar */
.intent-card .intent-mark {
  display: none;
}

.intent-card .intent-tags,
.intent-card .threat-meter,
.intent-card .threat-line,
.intent-card .intent-risk-bar,
.intent-card .intent-risk-meter {
  display: none;
}

.intent-card .intent-kicker {
  font-size: 10px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 4px;
}

/* 回合数挂在 intent-kicker 内（语境化：回合数 = 该意图卡所属回合）*/
.intent-turn {
  color: var(--gold-primary);
  font-weight: bold;
}

.intent-turn.next {
  color: var(--text-main);
}

.intent-card .intent-title {
  font-size: 15px;
  font-weight: bold;
  color: var(--gold-primary);
  margin-bottom: 4px;
}

.intent-card .intent-desc {
  font-size: 12px;
  color: var(--text-main);
  line-height: 1.6;
}

/* next-intent：右侧列，视觉次于当前意图
 * 横向布局：固定宽度（约 30%）、弱化字号 / 颜色 / 边框
 */
.intent-card.next {
  flex: 0 0 30%;
  min-width: 160px;
  max-width: 240px;
  align-self: stretch;
  padding: 10px 12px;
  background: var(--bg-base);
  border: none;
  border-left: 2px solid var(--border-default);  /* 灰色边，不抢眼 */
  border-radius: 0;
  margin: 0;
  font-size: 11px;
  color: var(--text-dim);
  display: block;
}

.intent-card.next .intent-layout {
  display: block;
}

.intent-card.next .intent-body {
  display: block;
}

/* 次卡 kicker 改为可见（含回合数 + "下回合预判"），替代原 ::before "下回合" 伪元素 */
.intent-card.next .intent-kicker {
  display: block;
  font-size: 9px;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.intent-card.next .intent-title {
  display: block;
  color: var(--text-dim);
  font-size: 12px;
  font-weight: bold;
  margin: 0 0 2px 0;
}

.intent-card.next .intent-desc {
  display: block;
  color: var(--text-muted);
  font-size: 10px;
  margin: 0;
  font-style: italic;
  line-height: 1.4;
}

.intent-card.next .intent-tags {
  display: none;
}

/* 窄屏（< 600px）：回退到垂直堆叠 */
@media (max-width: 599px) {
  #intent-row {
    flex-direction: column;
    gap: 6px;
  }

  .intent-card.next {
    flex: 0 0 auto;
    width: auto;
    max-width: none;
    border-left-width: 2px;
    padding: 6px 12px;
  }
}

/* v77-intent-narrative：嵌入 intent-row 内的当前场景叙事
 * 视觉位置：在 intent-desc 后、threat-line 前
 * 视觉权重：和 intent-desc 同级（13-14px）但用 italic + 略次色区分
 */
.v77-intent-narrative {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-main);
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px solid var(--border-subtle);
}

/* v1.13 对手叙事三行:对手打法 / 当前动作 / 下一步危险。
 * 数据来自 OPPONENT_STYLE_COPY / INTENT_ACTION_COPY,叙事性外显。
 * 视觉:label 次色 + value 加粗,跟 v77-intent-narrative 同体系。
 */
.v113-opp-narrative {
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.v113-opp-line {
  font-size: 13px;
  line-height: 1.5;
  display: flex;
  gap: 8px;
}
.v113-opp-line > span {
  color: var(--text-dim, #888);
  min-width: 64px;
}
.v113-opp-line > b {
  color: var(--text-main);
  font-weight: 600;
}

.v114-opp-plain {
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px solid var(--border-subtle);
  color: var(--text-main);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.55;
}

.evt-mental {
  font-size: 11px;
  color: var(--gold-primary);
  margin-top: 6px;
  font-style: italic;
}

.evt-mental-low-energy {
  font-size: 11px;
  color: var(--red);
  margin-top: 6px;
  font-style: italic;
  font-weight: bold;
}

/* ============================================================
 * 10. Deck Row（单行小字 "抽 X · 手 Y · 弃 Z · 消耗 W"）
 * ============================================================ */

#deck-row {
  display: flex;
  gap: 0;
  padding: 4px 14px;
  background: none;
  border: none;
  margin-bottom: var(--gap-module);
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

#deck-row .pile {
  background: none;
  border: none;
  padding: 0;
  font-size: 10px;
  color: var(--text-muted);
  display: inline;
}

#deck-row .pile:not(:last-child)::after {
  content: " · ";
  color: var(--border-default);
  margin: 0 8px;
}

#deck-row .pile strong {
  color: var(--text-dim);
  margin-left: 4px;
  font-weight: normal;
}

/* ============================================================
