/* 1段目の「撤回する」が bottom 659px(実効664px)で、残り5pxしかなかった。
   1行足したら画面外になるので、余白を詰めて余裕を作る(2026-08-24のレビュー) */
.figures-play {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.figures-icon {
  display: flex;
  justify-content: center;
  color: var(--accent);
  margin: 4px 0 -8px;
}

.figures-icon-svg {
  width: 44px;
  height: 44px;
}

.figures-meta {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink-soft);
  text-align: center;
  letter-spacing: 0.02em;
  margin: 0;
}

.figures-situation {
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  margin: 0;
}

/* 2段目以降は、状況を読み直せる形で畳む。消すと文脈を見失い、
   出したままだと圧力の文が画面の下へ押し出される */
.figures-situation.is-folded {
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-soft);
  padding: 12px 14px;
  max-height: 3.4em;
  overflow: hidden;
  position: relative;
}

.figures-situation.is-folded::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1.6em;
  background: linear-gradient(to bottom, transparent, var(--bg-card));
}

.figures-stake {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--accent-dark);
  text-align: center;
  margin: -4px 0 0;
}

.figures-stage {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: 14px;
  padding: 14px 16px;
}

.figures-stage-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-dark);
  letter-spacing: 0.04em;
  line-height: 1.6;
  margin: 0 0 6px;
}

.figures-pressure {
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink);
  margin: 0;
}

/* 文章の長さで2択の位置が変わり、長い回では画面外へ出ていた(実測662〜724px)。
   余白を詰めるだけでは回ごとの当たり外れが残るので、共通基準どおり画面下に貼り付ける。
   これで、どの回でも必ず押せる位置にある */
.figures-choices {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: sticky;
  bottom: 0;
  padding: 10px 0 12px;
  background: var(--bg);
}

/* 貼り付いたボタンの上で本文がぶつ切りに見えないよう、少しだけぼかす */
.figures-choices::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: -18px;
  height: 18px;
  background: linear-gradient(to bottom, transparent, var(--bg));
  pointer-events: none;
}

.figures-choice {
  font-family: inherit;
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.6;
  text-align: center;
  padding: 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--bg-card);
  color: var(--ink);
  cursor: pointer;
  transition: transform 0.12s ease, border-color 0.12s ease;
}

.figures-choice:active {
  transform: scale(0.985);
}

/* 「貫く」を目立たせすぎない。どちらも本当に選べる重さでないと、この題材は成立しない */
.figures-choice.is-hold {
  border-color: var(--accent);
  color: var(--accent-dark);
}

.figures-choice.is-recant {
  color: var(--ink-soft);
}

/* --- 結果画面に置く史実(プレイ中には絶対に出さない) --- */
.figures-aftermath {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 18px;
  text-align: left;
}

.figures-ending {
  font-size: 14px;
  line-height: 1.9;
  color: var(--ink);
  margin: 0;
}

.figures-afterword {
  font-size: 13.5px;
  line-height: 1.9;
  color: var(--ink-soft);
  margin: 12px 0 0;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
}

.figures-sources {
  margin-top: 12px;
}

.figures-sources summary {
  font-size: 12.5px;
  color: var(--ink-soft);
  cursor: pointer;
}

.figures-sources ul {
  margin: 8px 0 0;
  padding-left: 1.2em;
}

.figures-sources li {
  font-size: 12.5px;
  line-height: 1.8;
}

/* 出典リンクは39pxで下限を割っていた。行間の狭いリンクが並ぶと誤タップしやすい */
.figures-sources a {
  display: inline-block;
  min-height: 44px;
  padding: 11px 0;
}

.figures-sources a {
  color: var(--accent-dark);
  word-break: break-word;
}

/* みんなの分布。あとから届くので、既にある文の下に足す形にする */
.figures-distribution {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-dark);
  margin: 12px 0 0;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
}

/* 何の段を上っているのかを1行で伝える。1段目にだけ出す */
.figures-ladder {
  font-size: 12.5px;
  color: var(--ink-soft);
  text-align: center;
  margin: -8px 0 0;
}

/* ---- 誰の場面かを選ぶ画面(いきなり始まっていた) ---- */
.figures-cards {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.figures-card {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 64px;
  padding: 8px 14px 8px 8px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 14px;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
}

.figures-card:active { transform: scale(0.99); }

.figures-card-face {
  flex: 0 0 auto;
  width: 48px;
  height: 52px;
  display: block;
  overflow: hidden;
  border-radius: 10px;
  background: var(--bg);
}

.figures-portrait { width: 100%; height: 100%; display: block; }

.figures-card-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.figures-card-name { font-size: 15px; font-weight: 700; color: var(--ink); }
.figures-card-meta { font-size: 11.5px; color: var(--ink-soft); line-height: 1.5; }
