/* Coalition run-through (assets/runthrough.js): a recorded run of the game in a
   phone frame, with notes that change as it plays and chapters to jump to.
   Colors and type come from the page's own tokens in workshop.css. */
.rt { margin-top: 36px; }
.rt__lede { margin: 0 0 14px; max-width: 34em; font-family: var(--display); font-weight: 600; font-size: clamp(22px, 2vw, 28px); line-height: 1.25; letter-spacing: -.01em; }
.rt__lede a { text-decoration-color: var(--accent); }
.rt__intro { margin: 0 0 12px; max-width: 38em; font-size: 18px; line-height: 1.55; }
.rt__grid { display: grid; grid-template-columns: minmax(260px, 390px) minmax(0, 1fr); grid-template-rows: auto auto; gap: 0 48px; align-items: start; margin-top: 32px; }
.rt__side { grid-column: 2; grid-row: 1 / 3; }
.rt__phone { margin: 0; padding: 10px; border-radius: 34px; background: #171512; box-shadow: 0 24px 60px -30px rgba(0, 0, 0, .55); }
.rt__phone video, .rt__phone img { display: block; width: 100%; aspect-ratio: 430 / 932; height: auto; border-radius: 26px; background: #151326; object-fit: cover; }
.rt__play { display: block; width: 100%; margin-top: 10px; min-height: 44px; padding: 10px 18px; border: 2px solid var(--ink); border-radius: 999px; background: var(--ink); color: var(--bg); font: 600 16px var(--text); cursor: pointer; }
.rt__play:hover { background: transparent; color: var(--ink); }
.rt__play:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.rt__side { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.rt__note { margin: 0; padding: 22px 24px; border: 1px solid var(--ink); min-height: 7.5em; }
.rt__note b { display: block; font-family: var(--mono); font-weight: 600; font-size: 13px; letter-spacing: .02em; color: var(--soft); margin-bottom: 8px; }
.rt__note p { margin: 0; font-size: 19px; line-height: 1.5; }
.rt__chapters { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.rt__chapters button { display: grid; grid-template-columns: 4.2em minmax(0, 1fr); gap: 12px; width: 100%; padding: 9px 10px; border: 0; border-left: 3px solid transparent; background: transparent; color: inherit; font: 16px/1.4 var(--text); text-align: left; cursor: pointer; min-height: 44px; }
.rt__chapters button:hover { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 4px; }
.rt__chapters button[aria-current="true"] { border-left-color: var(--accent); background: var(--shot); }
.rt__chapters button:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.rt__chapters time { font-family: var(--mono); font-size: 14px; color: var(--soft); padding-top: 2px; }
.rt__check { margin: 36px 0 0; padding: 20px 24px; background: #171512; color: #f3ead8; font: 14px/1.6 var(--mono); white-space: pre-wrap; overflow-x: auto; }
.rt__check i { font-style: normal; color: #c9c1ad; }
.rt__check em { font-style: normal; color: #ffb0a0; }
.rt__check u { text-decoration: none; color: #9fdcc9; }
.rt__links { display: flex; flex-wrap: wrap; gap: 14px 36px; margin-top: 28px; font-size: 18px; font-weight: 500; }
@media (max-width: 860px) {
  .rt__grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; }
  .rt__side { grid-column: 1; grid-row: auto; margin-top: 28px; }
  .rt__phone { max-width: 390px; }
  .rt__play { max-width: 390px; }
  .rt__note p { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) { .rt__phone video { scroll-behavior: auto; } }
