/* Result screen base + dive stage (opened future scene) + loading progress. */
.result-screen { background: #eef1ee; }
.result-shell { width: min(1120px, calc(100% - 40px)); }
.future-notification { padding: 13px 15px; border-left: 3px solid var(--yellow); background: #303733; color: #fff; font-size: 13px; }
.future-notification span { display: block; margin-bottom: 4px; color: #aab4ad; font-size: 10px; font-weight: 900; }
.future-notification strong { line-height: 1.5; }
.future-game-stage { overflow: hidden; border: 1px solid var(--line); border-top: 5px solid var(--green); border-radius: 8px; background: #fff; box-shadow: 0 12px 38px rgba(21,32,25,.08); }
.play-stage-header { min-height: 96px; padding: 22px 28px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); }
.play-stage-header h3 { margin: 0; font-size: 22px; }
.alternate-badge { padding: 6px 9px; border-radius: 4px; color: var(--coral); background: var(--coral-soft); font-size: 12px; font-weight: 850; }
.time-controller { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border-bottom: 1px solid var(--line); }
.time-controller button { min-height: 74px; padding: 11px; border: 0; background: #f5f7f5; color: var(--muted); font-size: 12px; font-weight: 800; }
.time-controller button.is-active { position: relative; color: #fff; background: var(--ink); }
.time-controller button.is-active::after { content: ""; position: absolute; left: 18%; right: 18%; bottom: 0; height: 4px; background: var(--yellow); }
.timeline-play-scene { min-height: 270px; padding: 38px; display: grid; align-content: center; color: #fff; background: #252a27; }
.timeline-play-scene.is-changing { animation: scene-swap .35s ease both; }
.scene-counter { display: flex; justify-content: space-between; gap: 20px; color: #94a198; font-size: 11px; font-weight: 850; }
.scene-counter span { color: #8bd0ae; }
.timeline-play-scene > p { max-width: 820px; margin: 18px 0 22px; font-size: 25px; line-height: 1.5; font-weight: 800; word-break: keep-all; }
.timeline-play-scene .future-notification { max-width: 620px; }
.evidence-heading { padding: 26px 28px 12px; display: flex; justify-content: space-between; gap: 15px; }
.evidence-heading span { font-weight: 800; }
.future-artifacts { padding: 0 28px 30px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.future-artifacts article { min-height: 158px; padding: 16px; border: 1px solid var(--line); border-radius: 6px; background: #f8faf8; position: relative; }
.future-artifacts article::before { content: "SIGNAL 0" attr(data-signal); display: block; margin-bottom: 16px; color: #9ba59e; font-size: 9px; font-weight: 900; }
.future-artifacts article:nth-child(2) { border-top: 3px solid var(--yellow); }
.future-artifacts article:nth-child(3) { border-top: 3px solid var(--coral); }
.future-artifacts article:nth-child(4) { border-top: 3px solid var(--blue); }
.future-artifacts article:first-child { border-top: 3px solid var(--green); }
.future-artifacts span { display: block; margin-bottom: 7px; font-size: 13px; font-weight: 900; }
.future-artifacts p { margin: 0; color: #4f5852; font-size: 13px; line-height: 1.55; }
.turning-point-game { margin: 0 28px 26px; border: 1px solid var(--line); }
.turning-point-game summary { padding: 16px; cursor: pointer; font-size: 13px; font-weight: 800; }
.turning-point-game > div { padding: 24px; color: #fff; background: #211f1e; }
.turning-point-game > div > span { color: #f0a18f; font-size: 10px; font-weight: 900; }
.turning-point-game h4 { margin: 8px 0 16px; font-size: 20px; }
.turning-point-game p { margin: 8px 0; color: #d5dad6; }
.turning-point-game p strong { display: block; color: #fff; font-size: 11px; }
.cost-reward-strip { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.cost-reward-strip article { padding: 24px 28px; background: var(--green-soft); }
.cost-reward-strip article + article { background: var(--coral-soft); }
.cost-reward-strip span { color: var(--green); font-size: 10px; font-weight: 900; }
.cost-reward-strip article + article span { color: var(--coral); }
.cost-reward-strip strong { display: block; margin: 4px 0 7px; }
.cost-reward-strip p { margin: 0; font-size: 14px; }
.scan-progress { width: min(420px, 85vw); height: 5px; margin-top: 24px; background: #424943; }
.scan-progress span { display: block; width: 0; height: 100%; background: var(--yellow); transition: width .7s ease; }
@keyframes scene-swap { from { opacity: .25; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes reveal-up { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; } }
@media (max-width: 820px) {
  .future-artifacts { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .result-shell { width: min(100% - 24px, 1120px); }
  .play-stage-header { display: block; padding: 20px; }
  .play-stage-header > span { display: inline-block; margin-top: 10px; }
  .time-controller button { min-height: 68px; padding: 8px 4px; }
  .timeline-play-scene { min-height: 300px; padding: 26px 20px; }
  .timeline-play-scene > p { font-size: 20px; }
  .evidence-heading { display: block; padding: 22px 20px 10px; }
  .future-artifacts { padding: 0 20px 24px; grid-template-columns: 1fr; }
  .future-artifacts article { min-height: 0; }
  .turning-point-game { margin: 0 20px 20px; }
  .cost-reward-strip { grid-template-columns: 1fr; }
}
