/* A compact, local interaction sketch; not a representation of the shipped app. */
.software-sketch {
  --sketch-paper: #eeede7;
  --sketch-ink: #242622;
  --sketch-line: #bcbeb3;
  width: 100%;
  max-width: 650px;
  margin-inline: auto;
  color: var(--sketch-paper);
  container: software-sketch / inline-size;
}
.software-caption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  color: #bcbfb2;
  font: 11px/1.4 var(--mono, monospace);
  letter-spacing: 0.035em;
}
.software-screens {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  padding-inline: 22px;
}
.software-device {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 309px;
  padding: 18px 18px 14px;
  overflow: hidden;
  border: 1px solid #969a8b;
  border-radius: 22px;
  background: var(--sketch-paper);
  color: var(--sketch-ink);
  box-shadow:
    0 8px 0 -3px #1a1c19,
    0 9px 0 -3px #686c5f;
}
.software-device-player {
  background: #daddd0;
}
.software-device-role {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--sketch-line);
  font: 12px/1 var(--mono, monospace);
  letter-spacing: 0.035em;
}
.software-device-role > span:first-child {
  font-weight: bold;
}
.software-role-detail {
  color: #535947;
  font-size: 11px;
}
.software-screen-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 4px;
  margin-top: 16px;
  margin-bottom: 11px;
  font-size: 13px;
  line-height: 1.3;
}
.software-screen-header > span:last-child {
  color: #5c6154;
  font: 11px/1.3 var(--mono, monospace);
  white-space: nowrap;
}
.software-roster {
  display: grid;
  gap: 5px;
}
.software-roster-row {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 49px;
  padding: 6px 9px;
  border: 1px solid transparent;
  border-radius: 3px;
}
.software-roster-row.is-active {
  background: var(--sketch-ink);
  color: var(--sketch-paper);
}
.software-initiative {
  font: 16px/1 var(--mono, monospace);
  color: #636854;
}
.is-active .software-initiative {
  color: #ff805c;
}
.software-person {
  display: grid;
  gap: 4px;
  font-size: 14px;
  line-height: 1.15;
}
.software-hp-line {
  color: #606555;
  font: 11px/1 var(--mono, monospace);
  white-space: nowrap;
}
.software-hp-line b {
  font-weight: normal;
}
.is-active .software-hp-line {
  color: #c5c8bc;
}
.software-turn-indicator {
  margin-left: auto;
  font-size: 20px;
}
.software-turn-arrow {
  display: block;
  width: 13px;
  height: 13px;
  flex: 0 0 13px;
}
.is-active .software-turn-indicator {
  color: #ff805c;
}
.software-device-foot {
  display: flex;
  justify-content: space-between;
  gap: 5px;
  padding-top: 13px;
  margin-top: auto;
  border-top: 1px solid var(--sketch-line);
  color: #535947;
  font: 11px/1.2 var(--mono, monospace);
}
.software-sync {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}
.software-sync i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #687649;
}
.software-active-person {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 6px;
  margin-top: 16px;
}
.software-active-name {
  font-size: 24px;
  line-height: 1;
  letter-spacing: -0.045em;
}
.software-player-initiative {
  color: #5c6154;
  font: 11px/1.2 var(--mono, monospace);
  white-space: nowrap;
}
.software-health {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
}
.software-health > strong {
  font-size: 55px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.07em;
}
.software-health > span {
  display: grid;
  gap: 6px;
  font: 16px/1 var(--mono, monospace);
  color: #5c6154;
}
.software-health small {
  font: 11px/1 var(--mono, monospace);
  white-space: nowrap;
  letter-spacing: 0.03em;
}
.software-health-meter {
  height: 4px;
  margin-top: 12px;
  background: #bfc4b4;
}
.software-health-meter > span {
  display: block;
  height: 100%;
  background: #5d6d45;
  transition: width 180ms ease;
}
.software-next-person {
  display: flex;
  justify-content: space-between;
  gap: 5px;
  margin-top: 14px;
  color: #5c6154;
  font-size: 12px;
}
.software-next-person strong {
  font-weight: 400;
  color: var(--sketch-ink);
}
.software-map-frame {
  padding: 4px 0 5px;
  text-align: right;
}
.software-map {
  width: 100%;
  height: 127px;
  display: block;
  color: #777a6b;
}
.software-map-frame > span {
  color: #5c6154;
  font: 11px/1 var(--mono, monospace);
}
.software-map-turn {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  margin-top: 6px;
  font-size: 12px;
}
.software-map-turn-label {
  display: none;
  color: #5c6154;
}
.software-map-turn strong {
  font: 13px/1.2 var(--mono, monospace);
  white-space: nowrap;
}
.software-map-turn strong > span {
  color: #5c6154;
  font-size: 11px;
}
.software-controls {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 0.65fr;
  gap: 8px;
  margin-top: 27px;
}
.software-controls button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 0;
  min-height: 44px;
  padding: 9px 10px;
  border: 1px solid #6c7162;
  border-radius: 3px;
  background: transparent;
  color: var(--sketch-paper);
  font: 13px/1.25 var(--mono, monospace);
  transition:
    background 140ms ease,
    border-color 140ms ease;
  white-space: nowrap;
}
.software-controls button:hover {
  background: #383c32;
  border-color: #b7bdab;
}
.software-controls button:focus-visible {
  outline: 2px solid #ff916f;
  outline-offset: 4px;
}
.software-controls .software-next {
  background: var(--sketch-paper);
  color: var(--sketch-ink);
  border-color: var(--sketch-paper);
}
.software-controls .software-next:hover {
  background: #d9ded0;
}
.software-controls button[aria-pressed="true"] {
  border-color: #ff805c;
  color: #ff987b;
}
.software-controls button:disabled {
  opacity: 0.45;
  cursor: default;
}
.software-controls .software-reset {
  border-color: transparent;
  color: #c0c4b6;
}
.software-status {
  min-height: 34px;
  margin-top: 12px;
  color: #bfc3b5;
  font: 11px/1.5 var(--mono, monospace);
}
@media (min-width: 1400px) {
  .software-map-turn-label {
    display: inline;
  }
}
@media (max-width: 1100px) {
  .software-screens {
    gap: 14px;
    padding-inline: 8px;
  }
  .software-device {
    padding-inline: 13px;
  }
  .software-player-initiative {
    display: none;
  }
}
@media (max-width: 600px) {
  .software-caption {
    font-size: 11px;
    gap: 8px;
  }
  .software-screens {
    gap: 12px;
    padding-inline: 0;
  }
  .software-device {
    height: 300px;
    padding: 16px 12px 13px;
    border-radius: 18px;
  }
  .software-device-role {
    font-size: 11px;
  }
  .software-role-detail {
    font-size: 11px;
  }
  .software-screen-header {
    font-size: 12px;
  }
  .software-screen-header > span:last-child {
    font-size: 11px;
  }
  .software-roster-row {
    gap: 8px;
    padding-inline: 6px;
  }
  .software-initiative {
    font-size: 13px;
  }
  .software-person {
    font-size: 12px;
  }
  .software-hp-line {
    font-size: 11px;
  }
  .software-turn-indicator {
    display: none;
  }
  .software-active-person {
    margin-top: 18px;
  }
  .software-active-name {
    font-size: 23px;
  }
  .software-health {
    gap: 8px;
    margin-top: 17px;
  }
  .software-health > strong {
    font-size: 49px;
  }
  .software-health > span {
    font-size: 13px;
  }
  .software-health small {
    font-size: 11px;
  }
  .software-next-person {
    margin-top: 15px;
    font-size: 11px;
  }
  .software-device-foot {
    font-size: 11px;
    justify-content: flex-end;
  }
  .software-device-foot > span:first-child {
    display: none;
  }
  .software-sync {
    gap: 3px;
  }
  .software-map {
    height: 130px;
  }
  .software-map-turn {
    font-size: 11px;
  }
  .software-controls {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 24px;
  }
  .software-controls .software-reset {
    border-color: #555b4d;
  }
  .software-status {
    font-size: 11px;
  }
}
@media (max-width: 360px) {
  .software-device {
    padding-inline: 9px;
  }
  .software-device-role {
    padding-bottom: 14px;
  }
  .software-role-detail {
    display: none;
  }
  .software-roster-row {
    gap: 5px;
    padding-inline: 4px;
  }
  .software-active-name {
    font-size: 21px;
  }
  .software-health > strong {
    font-size: 44px;
  }
  .software-health {
    gap: 6px;
  }
  .software-health > span {
    font-size: 12px;
  }
  .software-device-foot > span:first-child {
    display: none;
  }
  .software-device-foot {
    justify-content: flex-end;
  }
}
@container software-sketch (max-width: 420px) {
  .software-controls {
    grid-template-columns: 1fr 1fr;
  }
  .software-controls .software-reset {
    border-color: #555b4d;
  }
  .software-turn-indicator {
    display: none;
  }
  .software-device-foot > span:first-child {
    display: none;
  }
  .software-device-foot {
    justify-content: flex-end;
  }
}
@media (prefers-reduced-motion: reduce) {
  .software-sketch *,
  .software-sketch *::before,
  .software-sketch *::after {
    transition: none !important;
    animation: none !important;
  }
}
