.terminal.is-coco-walk {
  width: min(940px, 100%);
  justify-self: center;
  border-color: rgba(113, 221, 201, 0.4) !important;
  box-shadow:
    0 26px 86px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(113, 221, 201, 0.05) !important;
}

.terminal.is-coco-walk .term-status {
  color: var(--orange, #ff6536);
}

body.coco-walk-active .hero {
  width: min(980px, calc(100% - 48px));
  gap: 14px;
  padding-top: clamp(18px, 2.5vh, 30px);
  padding-bottom: 18px;
}

body.coco-walk-active .hero-head {
  justify-content: center;
  text-align: center;
}

body.coco-walk-active .hero-title h1 {
  font-size: clamp(44px, 5.6vw, 74px);
  line-height: 0.92;
}

body.coco-walk-active .hero-foot {
  display: none;
}

body.coco-walk-active .history {
  padding: 20px 24px 16px;
}

.coco-walk-line {
  margin-top: 8px;
}

.coco-walk-line::before {
  color: var(--orange, #ff6536) !important;
}

.coco-walk-prompt::before {
  color: var(--mint, #71ddc9) !important;
}

.coco-walk-card,
.coco-walk-compact {
  width: 100%;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--text, #f5f7f7);
}

.coco-walk-card.is-ending {
  background: transparent;
}

.coco-walk-card-head {
  display: grid;
  gap: 7px;
  padding: 4px 0 12px;
  border-bottom: 1px solid rgba(113, 221, 201, 0.12);
  background: transparent;
}

.coco-walk-identity {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.coco-walk-act,
.coco-walk-location {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.coco-walk-act {
  color: var(--mint, #71ddc9);
}

.coco-walk-location {
  color: var(--muted, #91a09e);
  text-align: right;
}

.coco-walk-card h2 {
  max-width: 760px;
  margin: 0;
  color: var(--text, #f5f7f7);
  font-family: var(--mono, ui-monospace, SFMono-Regular, Menlo, monospace);
  font-size: clamp(16px, 2vw, 23px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.coco-walk-narrative {
  display: grid;
  gap: 8px;
  padding: 12px 0 13px;
}

.coco-walk-narrative p,
.coco-walk-compact p {
  max-width: 790px;
  margin: 0;
  color: var(--muted-2, #c2cdcb);
  font-size: 11px;
  line-height: 1.58;
}

.coco-walk-narrative .coco-walk-result {
  padding-left: 10px;
  border-left: 2px solid rgba(255, 101, 54, 0.72);
  color: #e8efed;
}

.coco-walk-card-foot {
  display: grid;
  gap: 12px;
  padding: 0 0 4px;
  border: 0;
  background: transparent;
}

.coco-walk-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  padding: 9px 0;
  border-top: 1px solid rgba(113, 221, 201, 0.1);
  border-bottom: 1px solid rgba(113, 221, 201, 0.1);
}

.coco-walk-stat {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.coco-walk-stat span {
  color: var(--muted, #91a09e);
  font-size: 8px;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.coco-walk-stat strong {
  color: var(--mint, #71ddc9);
  font-size: 11px;
  font-weight: 800;
}

.coco-walk-choices {
  display: grid;
  gap: 5px;
  padding-top: 1px;
}

.coco-walk-choice {
  display: flex;
  align-items: baseline;
  gap: 12px;
  min-width: 0;
  min-height: 0;
  padding: 3px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  text-decoration: none;
  transition: color 150ms ease, transform 150ms ease;
}

.coco-walk-choice:hover,
.coco-walk-choice:focus-visible {
  border: 0;
  background: transparent;
  box-shadow: none;
  outline: none;
  transform: translateX(3px);
}

.coco-walk-choice:active {
  transform: translateX(1px);
}

.coco-walk-choice code {
  flex: 0 0 auto;
  color: var(--orange, #ff6536);
  font: 750 10px/1.45 var(--mono, ui-monospace, SFMono-Regular, Menlo, monospace);
  text-decoration: underline;
  text-decoration-color: rgba(255, 101, 54, 0.62);
  text-underline-offset: 4px;
  white-space: nowrap;
}

.coco-walk-choice:hover code,
.coco-walk-choice:focus-visible code {
  color: #ff815e;
  text-decoration-color: currentColor;
}

.coco-walk-choice-copy {
  display: block;
  min-width: 0;
}

.coco-walk-choice-copy strong {
  display: none;
}

.coco-walk-choice-copy small {
  display: block;
  overflow: visible;
  color: var(--muted-2, #c2cdcb);
  font-size: 10px;
  line-height: 1.45;
  text-overflow: clip;
  white-space: normal;
}

.coco-walk-choice-arrow {
  display: none;
}

.coco-walk-compact {
  display: grid;
  gap: 6px;
  padding: 2px 0 8px;
}

.coco-walk-compact > strong {
  color: var(--mint, #71ddc9);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.coco-walk-compact .coco-walk-choices {
  margin-top: 4px;
}

body.coco-walk-active .composer-meta strong,
body.coco-walk-active .input-prefix {
  color: var(--orange, #ff6536) !important;
}

body.coco-walk-active .type-cue:not(.is-hidden) {
  color: var(--mint, #71ddc9);
}

@media (max-width: 760px) {
  body.coco-walk-active .hero {
    width: min(100% - 24px, 680px);
    gap: 10px;
    padding-top: 14px;
    padding-bottom: 10px;
  }

  body.coco-walk-active .hero-title h1 {
    font-size: clamp(38px, 12vw, 58px);
  }

  body.coco-walk-active .history {
    padding: 16px 14px 14px;
  }

  .coco-walk-identity {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }

  .coco-walk-location {
    text-align: left;
  }

  .coco-walk-stats {
    gap: 6px 14px;
  }

  .coco-walk-choice {
    align-items: flex-start;
    gap: 9px;
  }
}

@media (max-height: 760px) and (min-width: 761px) {
  body.coco-walk-active .hero {
    gap: 9px;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  body.coco-walk-active .hero-title h1 {
    font-size: clamp(38px, 4.8vw, 58px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .coco-walk-choice {
    transition: none;
  }
}
