.action-play-page .intro {
  padding-top: 28px;
  padding-bottom: 30px;
}
.action-play-page .intro .play-intro-kicker {
  font-size: 10px;
  line-height: 1.7;
  color: #cfb2bc;
  margin: 0 0 15px;
}
.action-play-page .intro h1 {
  font-size: clamp(38px, 4.5vw, 58px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.12;
  margin: 0 0 15px;
}
.action-play-page .intro > p:last-child {
  font-size: 17px;
  line-height: 1.7;
  color: #e1cfd5;
  margin: 0;
}
.action-play {
  padding-top: 30px;
  padding-bottom: 38px;
  color: var(--body);
}
.action-play [hidden] {
  display: none !important;
}
.action-play button {
  font: inherit;
  cursor: pointer;
}
.play-board {
  border: 1px solid var(--edge);
  border-radius: 5px;
  background: var(--surface);
  padding: 23px 30px 27px;
  scroll-margin-top: 20px;
}
.play-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 18px;
  margin-bottom: 23px;
}
.play-round {
  font-size: 11px;
  color: var(--ox);
  font-weight: 600;
  white-space: nowrap;
}
.play-checkpoints {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: round;
}
.play-checkpoints li {
  font-size: 10px;
  line-height: 1.8;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 7px;
  counter-increment: round;
}
.play-checkpoints li::before {
  content: counter(round);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border: 1px solid var(--edge);
  border-radius: 50%;
  font-size: 9px;
}
.play-checkpoints li[aria-current='step'] {
  color: var(--ox);
  font-weight: 600;
}
.play-checkpoints li[aria-current='step']::before {
  border-color: var(--ox);
}
.play-checkpoints li[data-complete='true']::before {
  content: '✓';
  background: var(--ox);
  border-color: var(--ox);
  color: #fff8f0;
}
.play-restart,
.play-again {
  color: var(--ox);
  border: 0;
  border-bottom: 1px solid #b795a0;
  border-radius: 0;
  background: none;
  padding: 1px 0;
  font-size: 10px !important;
  line-height: 1.7;
  white-space: nowrap;
}
.play-story {
  margin-bottom: 21px;
  max-width: 850px;
}
.play-scene {
  font-size: 10px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0 0 7px;
}
.play-story h2 {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 35px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--ox);
  margin: 0 0 10px;
}
.play-story > p:last-child {
  font-size: 13px;
  line-height: 1.8;
  margin: 0;
  color: var(--body);
}
.play-stage {
  display: grid;
  grid-template-columns: 1fr 65px 1fr;
  align-items: stretch;
  margin-bottom: 21px;
}
.play-vault {
  padding: 19px 21px;
  border: 1px solid var(--edge);
  border-radius: 4px;
  background: #f5eee7;
}
.play-stage-label {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--ox);
  margin-bottom: 13px;
}
.play-stage-label h3 {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.6;
  margin: 0;
}
.play-stage-label svg {
  flex-shrink: 0;
}
.play-packets {
  display: grid;
  gap: 7px;
}
.play-packet {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  font-size: 11px;
  line-height: 1.7;
  border: 1px solid var(--edge);
  border-radius: 3px;
  padding: 8px 10px;
  background: var(--surface);
  transition:
    background 0.2s,
    border-color 0.2s;
}
.play-packet small {
  font-size: 9px;
  color: var(--muted);
  white-space: nowrap;
}
.play-packet[data-state='included'] {
  border-color: #966978;
  background: #eadce0;
}
.play-packet[data-state='included'] small {
  color: var(--ox);
  font-weight: 600;
}
.play-packet[data-state='withheld'] {
  background: #f7f2ed;
  border-style: dashed;
}
.play-route {
  display: flex;
  align-items: center;
  color: #aa8893;
}
.play-route span {
  height: 1px;
  background: var(--edge);
  flex: 1;
}
.play-route svg {
  flex-shrink: 0;
}
.play-stage.is-revealed .play-route {
  color: var(--ox);
}
.play-stage.is-revealed .play-route span {
  background: #946674;
}
.play-stage.is-revealed .play-receiver {
  animation: play-reveal 0.24s ease-out;
}
.play-receiver {
  background: #291016;
  border: 1px solid #50303a;
  border-radius: 4px;
  padding: 19px 21px;
  color: #f7efe7;
  display: flex;
  flex-direction: column;
}
.play-receiver .play-stage-label {
  color: #efdee4;
  margin-bottom: 12px;
}
.play-assistant-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  width: 23px;
  height: 23px;
  border: 1px solid #9b7583;
  border-radius: 3px;
}
.play-receiver-caption {
  font-size: 10px;
  line-height: 1.7;
  color: #cdaeb9;
  margin: 0 0 9px;
}
.play-response {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 24px;
  line-height: 1.35;
  font-weight: 400;
  color: #fff7f0;
  margin: 0 0 17px;
  max-width: 36ch;
}
.play-receipt {
  display: block;
  border-top: 1px solid #704e5a;
  padding-top: 10px;
  margin-top: auto;
  color: #d9bdc7;
  font-size: 9px;
  line-height: 1.8;
}
.play-choice-section > p {
  font-size: 10px;
  font-weight: 600;
  line-height: 1.7;
  color: var(--ox);
  margin: 0 0 10px;
}
.play-choices {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 11px;
}
.play-choices button {
  position: relative;
  text-align: left;
  border: 1px solid var(--edge);
  border-radius: 4px;
  padding: 13px 15px 13px 43px;
  background: transparent;
  color: var(--ox);
  transition:
    background 0.15s,
    border-color 0.15s;
  min-height: 75px;
}
.play-choices button:hover {
  border-color: var(--ox);
  background: #f1e6e5;
}
.play-choices button[aria-pressed='true'] {
  border-color: var(--ox);
  background: #eadbdd;
  box-shadow: inset 0 -2px 0 var(--ox);
}
.play-choice-key {
  position: absolute;
  left: 14px;
  top: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 19px;
  height: 19px;
  font-size: 9px;
  border: 1px solid #c5aab4;
  border-radius: 3px;
}
.play-choices strong {
  display: block;
  font-size: 12px;
  line-height: 1.7;
  font-weight: 600;
}
.play-choices small {
  display: block;
  font-size: 10px;
  line-height: 1.7;
  color: var(--muted);
  margin-top: 3px;
}
.play-outcome {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  padding-top: 23px;
  margin-top: 23px;
  border-top: 1px solid var(--rule);
  scroll-margin-top: 24px;
}
.play-outcome-label {
  font-size: 10px;
  font-weight: 600;
  color: var(--ox);
  line-height: 1.7;
  margin: 0 0 8px;
}
.play-outcome h3 {
  font-size: 21px;
  line-height: 1.4;
  letter-spacing: -0.02em;
  font-weight: 500;
  color: var(--ox);
  margin: 0 0 11px;
}
.play-outcome p#play-explanation {
  font-size: 13px;
  line-height: 1.9;
  color: var(--body);
  max-width: 80ch;
  margin: 0;
}
.play-outcome-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  min-width: 155px;
}
.play-next {
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  min-height: 45px;
  border: 1px solid var(--ox);
  border-radius: 3px;
  background: var(--ox);
  color: #fff6ef;
  padding: 12px 17px;
  font-size: 12px !important;
  line-height: 1.7;
  font-weight: 600 !important;
}
.play-next:hover {
  background: #4a1d29;
}
.play-inspector {
  margin-top: 14px;
}
.play-inspector summary {
  font-size: 11px;
  line-height: 1.8;
  color: var(--ox);
  cursor: pointer;
  text-underline-offset: 4px;
}
.play-inspector summary:hover {
  text-decoration: underline;
}
.play-inspector > div {
  padding: 15px 17px;
  border-left: 2px solid #a07886;
  background: #f0e6e5;
  margin-top: 12px;
}
.play-inspector p,
.play-inspector li {
  font-size: 11px;
  line-height: 1.9;
  margin: 0 0 8px;
}
.play-inspector h4 {
  font-size: 11px;
  line-height: 1.8;
  margin: 14px 0 9px;
  color: var(--ox);
}
.play-inspector ul {
  padding: 0 0 0 16px;
  margin: 0;
}
.play-footnote {
  font-size: 10px;
  line-height: 1.9;
  color: var(--muted);
  margin: 15px 0 0;
  max-width: 100ch;
}
.play-finish {
  border: 1px solid var(--edge);
  border-radius: 5px;
  background: var(--surface);
  padding: 34px 35px;
  scroll-margin-top: 24px;
}
.play-finish-kicker {
  font-size: 11px;
  line-height: 1.8;
  color: var(--ox);
  margin: 0 0 13px;
}
.play-finish h2 {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 43px;
  font-weight: 400;
  line-height: 1.15;
  color: var(--ox);
  letter-spacing: -0.03em;
  margin: 0 0 17px;
}
.play-finish-intro {
  font-size: 14px;
  line-height: 1.8;
  color: var(--body);
  max-width: 70ch;
  margin: 0 0 26px;
}
.play-finish ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.play-finish li {
  border-top: 1px solid var(--rule);
  padding-top: 18px;
}
.play-finish li > span {
  display: block;
  font-size: 10px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 9px;
}
.play-finish li > strong {
  display: block;
  font-size: 14px;
  line-height: 1.6;
  font-weight: 500;
  color: var(--ox);
  margin-bottom: 10px;
}
.play-finish li > p {
  font-size: 12px;
  line-height: 1.9;
  margin: 0;
  color: var(--body);
}
.play-finish-actions {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
  margin-top: 29px;
}
.play-finish-actions > a {
  font-size: 12px;
  line-height: 1.8;
  color: var(--ox);
}
.play-finish-actions > a > span {
  margin-left: 8px;
}
.play-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.action-play :is(button, a, summary):focus-visible {
  outline: 2px solid var(--ox);
  outline-offset: 4px;
}
@keyframes play-reveal {
  from {
    transform: translateX(-5px);
    opacity: 0.75;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}
@media (max-width: 1000px) {
  .play-board {
    padding: 22px;
  }
  .play-stage {
    grid-template-columns: 1fr 35px 1fr;
  }
  .play-choices button {
    padding: 13px 12px 13px 38px;
  }
  .play-choice-key {
    left: 11px;
  }
  .play-checkpoints {
    gap: 13px;
  }
  .play-packet {
    flex-wrap: wrap;
    gap: 3px 12px;
  }
  .play-finish {
    padding: 28px;
  }
}
@media (max-width: 700px) {
  .action-play-page .intro {
    padding-top: 25px;
    padding-bottom: 28px;
  }
  .action-play-page .intro h1 {
    font-size: 37px;
    margin-bottom: 14px;
  }
  .action-play-page .intro > p:last-child {
    font-size: 15px;
  }
  .action-play-page .intro .play-intro-kicker {
    font-size: 10px;
    margin-bottom: 13px;
  }
  .action-play {
    padding-top: 23px;
    padding-bottom: 32px;
  }
  .play-board {
    padding: 19px 18px 22px;
  }
  .play-topline {
    flex-wrap: wrap;
    gap: 13px 20px;
    padding-bottom: 16px;
    margin-bottom: 19px;
  }
  .play-round {
    font-size: 10px;
  }
  .play-restart {
    margin-left: auto;
  }
  .play-checkpoints {
    order: 3;
    width: 100%;
    justify-content: space-between;
    gap: 8px;
  }
  .play-checkpoints li {
    font-size: 9px;
    gap: 5px;
  }
  .play-checkpoints li::before {
    width: 18px;
    height: 18px;
  }
  .play-story h2 {
    font-size: 29px;
  }
  .play-story > p:last-child {
    font-size: 12px;
    line-height: 1.8;
  }
  .play-scene {
    font-size: 10px;
  }
  .play-stage {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .play-vault {
    padding: 14px;
  }
  .play-stage-label {
    margin-bottom: 10px;
  }
  .play-stage-label h3 {
    font-size: 11px;
  }
  .play-packets {
    gap: 6px;
  }
  .play-packet {
    flex-wrap: nowrap;
    font-size: 10px;
    padding: 7px 9px;
    gap: 8px;
  }
  .play-packet small {
    font-size: 8px;
  }
  .play-route {
    height: 29px;
    justify-content: center;
    flex: none;
  }
  .play-route span {
    display: none;
  }
  .play-route svg {
    transform: rotate(90deg);
  }
  .play-receiver {
    padding: 15px 16px;
  }
  .play-response {
    font-size: 23px;
    max-width: none;
    margin-bottom: 14px;
  }
  .play-receipt {
    font-size: 9px;
  }
  .play-receiver-caption {
    font-size: 9px;
  }
  .play-choices {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .play-choices button {
    min-height: 65px;
    padding: 12px 12px 12px 43px;
  }
  .play-choices strong {
    font-size: 12px;
  }
  .play-choices small {
    font-size: 10px;
  }
  .play-choice-key {
    left: 14px;
    top: 14px;
  }
  .play-outcome {
    grid-template-columns: 1fr;
    gap: 18px;
    padding-top: 20px;
    margin-top: 20px;
  }
  .play-outcome h3 {
    font-size: 20px;
  }
  .play-outcome p#play-explanation {
    font-size: 12px;
    line-height: 1.9;
  }
  .play-outcome-actions {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
  }
  .play-next {
    font-size: 11px !important;
    gap: 20px;
  }
  .play-inspector summary {
    font-size: 11px;
  }
  .play-finish {
    padding: 25px 21px;
  }
  .play-finish h2 {
    font-size: 35px;
  }
  .play-finish-intro {
    font-size: 13px;
  }
  .play-finish ol {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .play-finish-actions {
    gap: 22px;
  }
  .play-footnote {
    font-size: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .action-play * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

.play-choice-section {
  margin-bottom: 22px;
}
.play-stage {
  margin-bottom: 0;
  scroll-margin-top: 22px;
}
.action-play-page .intro {
  padding-top: 23px;
  padding-bottom: 25px;
}
.action-play-page .intro h1 {
  font-size: clamp(37px, 4.1vw, 52px);
}
.play-story {
  margin-bottom: 17px;
}
.play-topline {
  margin-bottom: 19px;
}
@media (max-width: 700px) {
  .play-choice-section {
    margin-bottom: 20px;
  }
  .play-stage {
    scroll-margin-top: 16px;
  }
}

@media (max-width: 700px) {
  .action-play-page .intro .play-intro-kicker {
    display: none;
  }
}
