/* ============================================================
 * MOONBLOCKS.CSS — 擲筊, the timeline stage (pillar 1: imported by main.css)
 * ============================================================ */

#moonblocks-oracle-section {
  margin: 34px 0;
}

/* ---- the standalone page (2026-10-24): its own heading, no doubled title ---- */

.mb-page {
  max-width: 820px;
  margin: 0 auto;
  padding: 26px 16px 64px;
}

.mb-page-title {
  margin: 0 0 18px;
  text-align: center;
  font-family: 'Pirata One', 'Noto Serif KR', 'Noto Serif CJK KR', 'Noto Serif CJK SC', 'Source Han Serif', 'Liberation Serif', serif;
  font-size: var(--fs-h1);
  font-weight: normal;
  color: #f2c94c;
  letter-spacing: 0.04em;
  text-shadow: 0 0 18px rgba(242, 201, 76, 0.28);
}

.mb-page-title span {
  font-size: 0.72em;
  color: #d8c9a0;
  margin: 0 6px;
}

/* the stage's own head repeats the page heading in the standalone */
.mb-page .mb-head { display: none; }

.mb-stage {
  max-width: 760px;
  margin: 0 auto;
  padding: 18px 16px 22px;
  border: 2px solid #b8860b;
  border-radius: 14px;
  background:
    radial-gradient(circle at 50% 0%, rgba(212, 175, 55, 0.10), transparent 62%),
    linear-gradient(180deg, #140d1a, #0d0912);
  box-shadow: 0 0 28px rgba(184, 134, 11, 0.16), inset 0 1px 0 rgba(255, 233, 168, 0.08);
}

.mb-head { text-align: center; margin-bottom: 8px; }

.mb-title {
  font-family: 'Pirata One', 'Noto Serif KR', 'Noto Serif CJK KR', 'Noto Serif CJK SC', 'Source Han Serif', 'Liberation Serif', serif;
  font-size: var(--fs-h2);
  color: #f2c94c;
  letter-spacing: 0.06em;
}

.mb-title span {
  font-size: 0.62em;
  color: #d8c9a0;
  margin-left: 8px;
  letter-spacing: 0.02em;
}

.mb-sub {
  font-size: var(--fs-fine);
  color: #9b8f7a;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mb-canvas {
  display: block;
  width: 100%;
  max-width: 720px;
  height: auto;
  margin: 6px auto 0;
}

.mb-verdict {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin: 2px 0 10px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.mb-stage.is-revealed .mb-verdict { opacity: 1; }

.mb-verdict-label {
  font-family: 'Pirata One', 'Noto Serif KR', 'Noto Serif CJK KR', 'Noto Serif CJK SC', 'Source Han Serif', 'Liberation Serif', serif;
  font-size: 1.7rem;
  letter-spacing: 0.14em;
}

.mb-verdict.is-yes .mb-verdict-label { color: #3df2aa; text-shadow: 0 0 18px rgba(61, 242, 170, 0.45); }
.mb-verdict.is-no .mb-verdict-label { color: #ff6b6b; text-shadow: 0 0 18px rgba(255, 107, 107, 0.4); }
.mb-verdict.is-unclear .mb-verdict-label { color: #e6b02f; text-shadow: 0 0 18px rgba(230, 176, 47, 0.4); }

.mb-verdict-score {
  font-size: var(--fs-fine);
  color: #9b8f7a;
  letter-spacing: 0.08em;
}

.mb-casts {
  list-style: none;
  margin: 0 0 10px;
  padding: 0;
  display: grid;
  gap: 6px;
  opacity: 0;
  transition: opacity 0.4s ease 0.1s;
}

.mb-stage.is-revealed .mb-casts { opacity: 1; }

.mb-cast {
  display: grid;
  grid-template-columns: 3.4rem 8.5rem 1fr auto;
  gap: 10px;
  align-items: baseline;
  padding: 7px 12px;
  border: 1px solid rgba(184, 134, 11, 0.28);
  border-radius: 9px;
  background: rgba(25, 17, 32, 0.72);
  font-size: var(--fs-body2);
}

.mb-cast-zh { color: #f2c94c; font-size: 1.05rem; letter-spacing: 0.06em; font-family: 'Noto Serif KR', 'Noto Serif CJK KR', 'Noto Serif CJK SC', 'Source Han Serif', 'Liberation Serif', serif; }
.mb-cast-en { color: #e8dcc0; }
.mb-cast-gloss { color: #9b8f7a; font-size: var(--fs-fine); }
.mb-cast-sum { color: #d8c9a0; font-size: var(--fs-fine); letter-spacing: 0.1em; }

.mb-cast.is-shengjiao { border-color: rgba(61, 242, 170, 0.45); }
.mb-cast.is-yinjiao { border-color: rgba(255, 107, 107, 0.4); }
.mb-cast.is-lijiao { border-color: rgba(230, 176, 47, 0.5); }

.mb-voice {
  margin: 10px 0 0;
  font-size: var(--fs-body2);
  line-height: 1.6;
  color: #ded1b4;
  opacity: 0;
  transition: opacity 0.4s ease 0.2s;
}

.mb-stage.is-revealed .mb-voice { opacity: 1; }

.mb-tradition {
  margin: 12px 0 0;
  padding-top: 10px;
  border-top: 1px solid rgba(184, 134, 11, 0.22);
  font-size: var(--fs-fine);
  line-height: 1.55;
  color: #8a7f6c;
}

@media (max-width: 480px) {
  .mb-stage { padding: 12px 9px 16px; }
  .mb-cast { grid-template-columns: 2.8rem 1fr auto; }
  .mb-cast-gloss { display: none; }
  .mb-verdict-label { font-size: 1.4rem; }
}
