.quick-shift-mode-choices,
.quick-shift-choice-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 20px 0;
}
.quick-shift-mode,
.quick-shift-choice {
  border: 1px solid #3c504d;
  background: #1d2929;
  color: var(--ink, #e5e8dc);
  padding: 20px;
  text-align: left;
  cursor: pointer;
  min-height: 126px;
}
.quick-shift-mode strong,
.quick-shift-choice strong {
  display: block;
  font-size: 20px;
  line-height: 1.2;
  margin-bottom: 10px;
}
.quick-shift-mode span,
.quick-shift-choice span {
  display: block;
  font-size: 14px;
  line-height: 1.45;
  color: var(--muted);
}
.quick-shift-choice small {
  display: block;
  border-top: 1px solid #3b4c49;
  color: #bad1c6;
  font-size: 12px;
  line-height: 1.45;
  padding-top: 12px;
  margin-top: 14px;
}
.quick-shift-mode:hover,
.quick-shift-choice:hover:not(:disabled) {
  border-color: var(--accent);
  background: #22312e;
}
.quick-shift-mode:focus-visible,
.quick-shift-choice:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.quick-shift-choice:disabled {
  opacity: 0.55;
  cursor: default;
}
.quick-shift-intro {
  line-height: 1.5;
  max-width: 62ch;
}
.quick-shift-standard {
  font-size: 12px;
  color: var(--accent);
  margin: 12px 0 20px;
}
.quick-shift-label {
  display: grid;
  gap: 8px;
  font-size: 13px;
  margin: 14px 0 10px;
}
.quick-shift-label select,
.quick-shift-label input {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 12px;
  border: 1px solid #3c504d;
  border-radius: 2px;
  color: var(--ink, #e5e8dc);
  background: #111d20;
  font: inherit;
  min-height: 42px;
}
.quick-shift-label input[aria-invalid='true'] {
  border-color: #da8272;
}
.quick-shift-label select:focus-visible,
.quick-shift-label input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.quick-shift-note,
.quick-shift-scope {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}
.quick-shift-scope {
  margin-top: 18px;
}
.quick-shift-status {
  color: var(--accent);
  font-size: 12px;
  line-height: 1.5;
  margin: 10px 0;
}
.quick-shift-status:empty {
  display: none;
}
.quick-shift-seed-details,
.quick-shift-result-details {
  margin: 18px 0;
  padding: 14px 0;
  border-top: 1px solid #354643;
  border-bottom: 1px solid #354643;
}
.quick-shift-seed-details summary,
.quick-shift-result-details summary {
  cursor: pointer;
  font-size: 13px;
}
.quick-shift-best-list {
  margin: 10px 0 0;
  padding-left: 18px;
  font-size: 12px;
  line-height: 1.6;
}
.quick-shift-best-list strong {
  color: var(--ink, #e5e8dc);
  margin-right: 8px;
}
.quick-shift-result-line {
  display: flex;
  gap: 12px 22px;
  align-items: baseline;
  flex-wrap: wrap;
}
.quick-shift-result-line strong {
  font-size: 30px;
  font-weight: 600;
}
.quick-shift-result-line span {
  color: var(--muted);
  font-size: 13px;
}
.quick-shift-best-notice {
  color: var(--accent);
  font-size: 13px;
  line-height: 1.5;
}
.quick-shift-result-details dl {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 8px 16px;
  margin: 16px 0;
  font-size: 13px;
}
.quick-shift-result-details dt {
  color: var(--muted);
}
.quick-shift-result-details dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.quick-shift-code {
  font-family: ui-monospace, Consolas, monospace;
  overflow-wrap: anywhere;
}
@media (max-width: 580px) {
  .quick-shift-mode-choices,
  .quick-shift-choice-list {
    grid-template-columns: 1fr;
  }
  .quick-shift-mode,
  .quick-shift-choice {
    min-height: 0;
    padding: 16px;
  }
  .quick-shift-mode strong,
  .quick-shift-choice strong {
    font-size: 18px;
  }
}
.motion-build {
  border-top: 1px solid var(--line, #354440);
  border-bottom: 1px solid var(--line, #354440);
  margin: 18px 0;
  padding: 14px 0;
}
.motion-build > summary {
  cursor: pointer;
  font-weight: 650;
}
.motion-build > summary > span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
  margin: 5px 0 0 16px;
}
.motion-build-note,
.motion-owned {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}
.motion-fitting {
  padding: 14px 0;
  border-top: 1px solid #30403d;
}
.motion-fitting-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.motion-fitting h4 {
  margin: 0;
  font-size: 15px;
}
.motion-fitting p {
  font-size: 13px;
  line-height: 1.5;
  margin: 6px 0;
}
.motion-fitting .motion-trigger {
  color: var(--ink, #e7e9dd);
}
.motion-state {
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
}
.motion-state[data-state='ready'],
.motion-state[data-state='active'] {
  color: var(--accent);
}
.motion-fitting progress {
  accent-color: var(--accent);
  display: block;
  width: min(180px, 100%);
  height: 5px;
  margin: 10px 0;
}
.motion-practice-shortcut {
  margin-top: 5px;
  font-size: 12px;
  text-align: left;
}
.motion-practice-shortcut span {
  color: var(--muted);
}
dialog.motion-practice-dialog {
  width: min(1020px, calc(100% - 32px));
}
.motion-practice-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}
.motion-practice-header h2 {
  font-size: clamp(25px, 4vw, 34px);
  margin: 0 0 10px;
}
.motion-practice-header .eyebrow {
  margin-top: 0;
}
.motion-practice-scope,
.motion-practice-controls {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}
.motion-practice-instruction {
  font-size: 14px;
  line-height: 1.5;
  margin: 6px 0;
}
.motion-practice-canvas {
  display: block;
  width: 100%;
  height: clamp(240px, 34vw, 390px);
  background: #101817;
  border: 1px solid #354440;
  touch-action: none;
}
.motion-practice-canvas:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.motion-practice-state {
  min-height: 1.5em;
  margin: 8px 0;
  font-size: 12px;
  color: var(--accent);
}
.motion-practice-touch {
  display: none;
  gap: 12px;
  margin: 10px 0;
}
.motion-practice-touch button {
  min-width: 52px;
  min-height: 44px;
  touch-action: none;
}
.motion-practice-touch button:last-child {
  margin-left: auto;
}
.motion-practice-health {
  width: 120px;
  accent-color: var(--accent);
}
@media (pointer: coarse) {
  .motion-practice-touch {
    display: flex;
  }
}
@media (max-width: 600px) {
  .motion-practice-header {
    flex-wrap: wrap;
  }
  .motion-practice-shortcut span {
    display: block;
  }
}

.motion-connections {
  list-style: none;
  padding: 0;
  margin: 14px 0;
}
.motion-connections li {
  margin: 10px 0;
  font-size: 12px;
  line-height: 1.5;
}
.motion-connections strong,
.motion-connections span {
  display: block;
}
.motion-connections span {
  color: var(--muted);
}
.starting-gun-choice:disabled {
  opacity: 1;
  background: #121c20;
  border-color: #344443;
  cursor: default;
}
.starting-gun-choice:disabled strong {
  color: #bac2bc;
}
.starting-gun-choice:disabled svg {
  opacity: 0.45;
}
.starting-gun-choice:disabled span {
  color: #b4bdb4;
}
.run-rewards {
  margin: 22px 0;
}
.run-rewards h3 {
  font-size: 15px;
  margin: 0 0 12px;
}
.reward-overflow summary {
  cursor: pointer;
  padding: 12px;
  margin-bottom: 14px;
  border: 1px solid #546557;
  border-radius: 4px;
  color: #d6ddcd;
}
.reward-overflow summary:focus-visible {
  outline: 2px solid #e8b56c;
  outline-offset: 3px;
}
.reward-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}
.reward-card {
  overflow: hidden;
  padding: 14px;
  border: 1px solid #546557;
  background: #192624;
  border-radius: 5px;
  text-align: left;
}
.reward-card small,
.reward-card strong {
  display: block;
}
.reward-card small {
  color: #e8b56c;
  font-size: 11px;
  margin: 12px 0 7px;
}
.reward-card strong {
  font-size: 18px;
}
.reward-card p {
  font-size: 13px;
  line-height: 1.5;
  color: #bac8bd;
  margin: 8px 0 0;
}
.reward-image,
.reward-card .archive-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2;
  border-radius: 3px;
  background: #111c20;
}
.reward-card .mod-mark {
  width: 100%;
  height: 100px;
}
.logbook-item .archive-image {
  width: 100%;
  max-width: 180px;
  aspect-ratio: 2;
  height: auto;
  border-radius: 3px;
}
.logbook-entry-top:has(.archive-image) {
  flex-wrap: wrap;
  gap: 14px;
}
.logbook-entry-top .archive-image {
  width: 100%;
  aspect-ratio: 2;
  height: auto;
  border-radius: 4px;
}
.silhouette .archive-image {
  filter: brightness(0) opacity(0.3);
}
.logbook-reward-pictures {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}
.logbook-reward-pictures figure {
  margin: 0;
}
.logbook-reward-pictures figcaption {
  margin-top: 8px;
  font-size: 13px;
  color: #bdc9bd;
}
@media (max-width: 480px) {
  .reward-cards {
    grid-template-columns: 1fr;
  }
}
.combat-report {
  margin-top: 20px;
  border-top: 1px solid #354440;
  padding-top: 18px;
}
.combat-report h3 {
  margin: 0 0 12px;
  font-size: 17px;
}
.report-gun {
  margin: 0;
  display: grid;
  grid-template-columns: minmax(140px, 1fr) minmax(110px, 0.65fr);
  align-items: center;
  gap: 14px;
}
.report-gun canvas {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid #26383b;
}
.report-gun figcaption {
  display: grid;
  gap: 6px;
}
.report-gun figcaption strong {
  font-size: 14px;
}
.report-gun figcaption span {
  color: #a8b4ae;
  font-size: 12px;
  line-height: 1.5;
}
.report-connections {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: grid;
  gap: 8px;
}
.report-connections li {
  display: grid;
  gap: 3px;
  font-size: 13px;
  line-height: 1.5;
}
.report-connections strong {
  color: #dec297;
  font-weight: 600;
}
.report-connections span {
  color: #bec9c2;
}
.report-results {
  margin-top: 12px;
  font-size: 13px;
}
.report-results summary {
  padding: 8px 0;
  cursor: pointer;
}
.report-results summary span {
  display: block;
  margin: 4px 0 0 17px;
  color: #a8b4ae;
  font-size: 12px;
  line-height: 1.5;
}
.report-results dl {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 16px;
  margin: 10px 0;
  line-height: 1.5;
}
.report-results dt {
  color: #a8b4ae;
}
.report-results dd {
  margin: 0;
  text-align: right;
}
.report-results p {
  color: #a8b4ae;
  line-height: 1.5;
}
.report-masteries {
  list-style: none;
  padding: 0;
  margin: 14px 0;
  display: grid;
  gap: 12px;
}
.report-masteries li {
  display: grid;
  gap: 4px;
  line-height: 1.5;
}
.report-masteries strong {
  color: #dec297;
}
.report-masteries small {
  color: #a8b4ae;
  font-size: 12px;
}
@media (max-width: 460px) {
  .report-gun {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .report-gun figcaption {
    gap: 3px;
  }
  .report-results dl {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

.report-highlights {
  list-style: none;
  padding: 0;
  margin: 14px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}
.report-highlights li {
  display: grid;
  gap: 3px;
  font-size: 12px;
  line-height: 1.5;
}
.report-highlights strong {
  color: #d9c29b;
  font-weight: 600;
}
.report-highlights span {
  color: #b8c7c0;
}
dialog.upgrade-dialog {
  width: min(820px, calc(100% - 40px));
}
.upgrade-dialog .mod {
  padding: 17px;
}
.upgrade-dialog .mod-top {
  margin-bottom: 14px;
}
.upgrade-dialog .reforge-choice .mod-top {
  margin-bottom: 8px;
}
.upgrade-dialog .reforge-arrow {
  margin: 6px 0;
}
.upgrade-dialog .mod.mod-inspected {
  border-color: var(--accent);
}
.upgrade-preview {
  margin-top: 18px;
  border-top: 1px solid #354440;
  padding-top: 12px;
  min-height: 234px;
}
.upgrade-preview-idle {
  color: var(--muted);
  font-size: 13px;
  padding-top: 10px;
}
.upgrade-preview-heading {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  margin-bottom: 8px;
}
.upgrade-preview-heading span {
  color: var(--muted);
  font-size: 12px;
}
.upgrade-preview-scenes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.upgrade-preview-scenes figure {
  margin: 0;
  min-width: 0;
}
.upgrade-preview-scenes figcaption {
  color: var(--muted);
  font-size: 11px;
  margin-bottom: 4px;
}
.upgrade-preview-scenes canvas {
  display: block;
  position: static;
  width: 100%;
  height: 132px;
  border: 1px solid #354440;
  border-radius: 2px;
  cursor: default;
}
.upgrade-preview-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  margin: 10px 0 0;
}
.upgrade-preview-stats div {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-size: 12px;
}
.upgrade-preview-stats dt {
  color: var(--muted);
}
.upgrade-preview-stats dd {
  margin: 0;
  color: #e7e8dc;
  font-variant-numeric: tabular-nums;
}
.upgrade-preview-summary p {
  color: #b0bdb5;
  font-size: 12px;
  line-height: 1.5;
  margin: 7px 0 0;
}
@media (max-width: 600px) {
  dialog.upgrade-dialog {
    width: calc(100% - 28px);
  }
  .upgrade-preview-scenes {
    gap: 8px;
  }
  .upgrade-preview-scenes canvas {
    height: 100px;
  }
  .upgrade-preview {
    min-height: 216px;
  }
  .upgrade-dialog .mod {
    padding: 12px;
  }
  .upgrade-dialog .mod-top {
    margin-bottom: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .upgrade-dialog .mod {
    transition: none;
  }
  .upgrade-dialog .mod:hover {
    transform: none;
  }
}

/* Service cards do not contain the icon column used by ordinary upgrade cards. */
.upgrade-dialog .mod[data-service],
.upgrade-dialog .mod[data-service-offer] {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.upgrade-dialog .mod[data-service] > strong,
.upgrade-dialog .mod[data-service-offer] > strong {
  align-self: stretch;
}
.upgrade-dialog .mod[data-service] > span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}
.upgrade-dialog .mod[data-service-offer] .reforge-arrow {
  margin: 0;
}
.upgrade-dialog .mod[data-service]:disabled {
  opacity: 0.5;
  cursor: default;
  transform: none;
}
.finale-service-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}
.finale-service-actions .primary:disabled {
  opacity: 0.5;
  cursor: default;
  transform: none;
}
@media (max-width: 450px) {
  .finale-service-actions > button {
    flex: 1 1 140px;
    min-height: 44px;
  }
}
:root {
  font-family: Inter, Arial, Helvetica, sans-serif;
  color: #e9eadf;
  background: #101416;
  color-scheme: dark;
  --ink: #e9eadf;
  --muted: #95a19f;
  --accent: #f0c17d;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  overflow: hidden;
}
button,
input {
  font: inherit;
}
button {
  cursor: pointer;
  color: inherit;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible,
input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}
button,
input {
  -webkit-tap-highlight-color: transparent;
}
[hidden] {
  display: none !important;
}
#app,
#arena {
  width: 100%;
  height: 100dvh;
}
#arena {
  position: relative;
  overflow: hidden;
}
canvas {
  display: block;
  width: 100%;
  height: 100%;
  touch-action: none;
  outline: none;
  cursor: none;
}
.hud {
  position: absolute;
  inset: 24px 28px auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}
progress {
  appearance: none;
  width: 108px;
  height: 5px;
  border: 0;
  background: #3b4747;
  transition: filter 0.15s;
}
progress::-webkit-progress-bar {
  background: #3b4747;
}
progress::-webkit-progress-value {
  background: #dde7d7;
}
progress::-moz-progress-bar {
  background: #dde7d7;
}
progress.low::-webkit-progress-value {
  background: #f27d64;
}
progress.low::-moz-progress-bar {
  background: #f27d64;
}
.run-info {
  display: flex;
  align-items: center;
  gap: 18px;
  color: #99a7a4;
  font:
    12px 'Courier New',
    monospace;
  letter-spacing: 2px;
  pointer-events: auto;
}
.factory-condition {
  position: absolute;
  top: 42px;
  left: 0;
  max-width: min(400px, 100%);
  padding: 7px 10px;
  background: #101416d9;
  border-left: 2px solid #c7a56d;
  color: #dce5d9;
  font-size: 11px;
  line-height: 1.5;
}
.factory-condition strong {
  display: block;
  color: #e4c388;
  font-weight: 500;
}
.factory-condition span {
  display: block;
  color: #aebeb6;
}
.icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  color: #b8c2ba;
}
.icon:hover {
  color: white;
  background: #263032;
}
.icon svg {
  width: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}
#title-screen {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: #101416e8;
  text-align: center;
  padding: 40px 20px 70px;
  overflow: auto;
}
.title-content {
  width: min(600px, 100%);
}
.next-goal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(420px, 100%);
  margin: 24px auto 0;
  padding: 13px 16px;
  text-align: left;
  border: 1px solid #52635a60;
  border-radius: 3px;
  background: #23302a30;
  color: var(--ink);
}
.next-goal[hidden],
.next-goal-count[hidden],
.goal-preview .title-actions,
.goal-preview .title-settings,
.goal-preview .title-controls,
.goal-preview .update-link,
.tracking-preview .title-actions,
.tracking-preview .title-controls,
.tracking-preview .update-link,
.tracking-preview .title-settings > button:not(#logbook) {
  display: none;
}
.next-goal:hover {
  border-color: #82998b;
  background: #23302a60;
}
.next-goal-copy {
  display: grid;
  gap: 5px;
  min-width: 0;
}
.next-goal-label {
  color: #e1b986;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.next-goal-copy strong {
  font-size: 16px;
  font-weight: 650;
  line-height: 1.25;
}
.next-goal-summary {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  color: #b4c0b8;
  font-size: 13px;
  line-height: 1.4;
}
.next-goal-end {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #b4c0b8;
  flex-shrink: 0;
}
.next-goal-count {
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
dialog.goal-dialog {
  width: min(560px, calc(100% - 40px));
}
.goal-requirement {
  line-height: 1.5;
}
.goal-how {
  font-size: 14px;
  line-height: 1.6;
  color: #b4c0b8;
}
.goal-count {
  color: #e1b986;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}
.goal-reward {
  border-top: 1px solid #52635a60;
  margin: 24px 0 18px;
  padding-top: 16px;
  font-size: 14px;
  line-height: 1.5;
}
.goal-reward dt {
  color: #e1b986;
  margin-bottom: 4px;
}
.goal-reward dd {
  margin: 0;
}
.goal-optional {
  color: #a3ada7;
  font-size: 12px;
}
.run-goal {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  width: 100%;
  padding: 12px 14px;
  margin: 0 0 16px;
  border: 1px solid #52635a60;
  background: #17212180;
  text-align: left;
  line-height: 1.4;
}
.run-goal strong {
  font-size: 15px;
}
.run-goal-status {
  font-size: 13px;
  color: #d7c09b;
}
.run-goal-note {
  font-size: 12px;
  color: #b4c0b8;
}
.run-goal-result {
  margin-top: 20px;
}
.mod-goal {
  display: block;
  color: #eed4a0;
  font-size: 12px;
  margin-top: 8px;
}
.logbook-tracking {
  margin: 16px 0;
}
.logbook-tracking p {
  color: #b4c0b8;
  font-size: 12px;
  line-height: 1.5;
  margin: 6px 0 0;
}
.update-link {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 0 0 24px;
  padding: 10px 4px;
  border: 0;
  background: transparent;
  color: #a8a2b1;
  font-size: 12px;
}
.update-link > span:first-child {
  color: #e1b986;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}
.update-link:hover > span:last-child {
  color: var(--ink);
}
dialog.update-dialog {
  width: min(620px, calc(100% - 40px));
}
.update-dialog h2 {
  margin-bottom: 12px;
}
.update-tagline {
  color: #e1b986;
  margin: 0 0 28px;
  line-height: 1.5;
}
.update-notes {
  display: grid;
  gap: 22px;
  margin: 0 0 30px;
  line-height: 1.55;
}
.update-notes dt {
  font-weight: 650;
  margin-bottom: 4px;
}
.update-notes dd {
  margin: 0;
  color: #adb7b4;
  font-size: 14px;
}
h1 {
  margin: 0 0 44px;
  font-weight: 900;
  line-height: 0.87;
}
h1 > span {
  display: block;
  font-size: clamp(68px, 12vw, 132px);
  letter-spacing: -0.08em;
  transform: skew(-7deg);
  padding-right: 0.07em;
}
h1 > small {
  display: block;
  margin-top: 24px;
  font-size: 14px;
  letter-spacing: 0.6em;
  font-weight: 500;
  padding-left: 0.6em;
  color: #a9b8b0;
}
.primary {
  min-width: 154px;
  min-height: 46px;
  padding: 13px 26px;
  border: 0;
  border-radius: 2px;
  background: var(--ink);
  color: #15201d;
  font-weight: 700;
  font-size: 16px;
  transition:
    background 0.12s,
    transform 0.12s;
}
.primary:hover {
  background: var(--accent);
  transform: translateY(-2px);
}
.primary:active {
  transform: translateY(1px);
}
.primary > span {
  margin-left: 28px;
  font-size: 21px;
  font-weight: 400;
}
.quiet {
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 13px 18px;
  font-size: 14px;
}
.quiet:hover {
  color: var(--ink);
}
.new-badge {
  display: inline-block;
  margin-left: 5px;
  padding: 2px 5px;
  border: 1px solid #bca877;
  border-radius: 3px;
  color: #f0dfb2;
  background: #36352b;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.2;
  vertical-align: middle;
}
.title-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 7px auto -6px;
}
.title-controls {
  margin: 34px 0 0;
  font-size: 14px;
  color: #a8b4ae;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  justify-content: center;
}
.title-controls i {
  font-style: normal;
  color: #5f6f6c;
  padding: 0 8px;
}
kbd {
  font:
    12px 'Courier New',
    monospace;
  display: inline-grid;
  place-items: center;
  min-width: 20px;
  min-height: 22px;
  padding: 2px 5px;
  border: 1px solid #46524e;
  border-radius: 2px;
  color: #bfcbc2;
}
.recoil-hint {
  margin: 18px 0 0;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: #e1b986;
}
.title-settings {
  display: flex;
  position: absolute;
  right: 20px;
  bottom: 15px;
}
body[data-mode='title'] .hud {
  display: none;
}
dialog {
  width: min(780px, calc(100% - 40px));
  max-height: calc(100dvh - 40px);
  border: 1px solid #3b4643;
  border-radius: 4px;
  padding: 36px;
  background: #182023;
  color: var(--ink);
  overflow: auto;
}
dialog::backdrop {
  background: #090e11cc;
  backdrop-filter: blur(4px);
}
h2 {
  font-size: clamp(28px, 5vw, 42px);
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin: 0 0 30px;
  font-weight: 750;
}
.eyebrow {
  margin: 0 0 14px;
  color: #aebdb2;
  font:
    12px 'Courier New',
    monospace;
  letter-spacing: 3px;
}
.choices {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
dialog.single-upgrade {
  width: min(420px, calc(100% - 28px));
}
dialog.practice-dialog {
  width: min(440px, calc(100% - 28px));
}
.practice-note {
  color: var(--muted);
  margin: -14px 0 24px;
  font-size: 14px;
}
.practice-list {
  border-top: 1px solid #354440;
}
.practice-record-note {
  margin: 12px 0 20px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.practice-record-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 36px;
  margin: 0;
}
.practice-record-stats dt {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 6px;
}
.practice-record-stats dd {
  margin: 0;
  font-variant-numeric: tabular-nums;
}
.practice-fight {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 18px 4px;
  border: 0;
  border-bottom: 1px solid #354440;
  background: transparent;
  text-align: left;
}
.practice-fight:hover {
  color: var(--accent);
}
.practice-fight > span:last-child {
  color: var(--muted);
}
.hunt-practice-image {
  width: 112px;
  height: 56px;
  flex: 0 0 112px;
  margin-right: 16px;
  border-radius: 3px;
}
.hunt-practice-image + span {
  flex: 1;
}
.recoil-course-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.recoil-course-actions .practice-fight {
  min-width: 0;
  flex: 1;
  gap: 12px;
}
.recoil-course-actions > .quiet {
  flex: 0 0 auto;
  padding: 10px;
  font-size: 13px;
}
.recoil-race-option {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 18px 0 12px;
  font-size: 14px;
}
.recoil-race-option input {
  accent-color: var(--accent);
}
.gauntlet-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 20px 0;
}
.gauntlet-selectors {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 18px;
}
.gauntlet-selectors label {
  flex: 1 1 180px;
}
.gauntlet-choice {
  text-align: left;
  border: 1px solid #3b5053;
  background: #1c292d;
  padding: 0 0 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.gauntlet-choice canvas {
  width: 100%;
  height: auto;
  aspect-ratio: 2;
  pointer-events: none;
}
.gauntlet-choice strong,
.gauntlet-choice span {
  margin: 0 18px;
}
.gauntlet-choice span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}
.gauntlet-service {
  padding-top: 18px;
}
.gauntlet-choice:hover,
.gauntlet-choice:focus-visible {
  border-color: var(--accent);
}
@media (max-width: 520px) {
  .gauntlet-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
.single-upgrade .choices {
  grid-template-columns: minmax(0, 1fr);
}
.mod {
  min-width: 0;
  overflow-wrap: anywhere;
  background: #202a2b;
  border: 1px solid #41504a;
  border-radius: 2px;
  padding: 20px;
  text-align: left;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.15s,
    border-color 0.15s,
    background 0.15s;
}
.mod:hover {
  background: #2b3734;
  border-color: #d0c5a5;
  transform: translateY(-4px);
}
.draft-choice {
  min-width: 0;
  display: flex;
  flex-direction: column;
  border: 1px solid #41504a;
  border-radius: 2px;
}
.draft-choice > .mod {
  flex: 1;
  border: 0;
  border-radius: 0;
}
.draft-choice > .mod:hover {
  transform: none;
}
.draft-choice.is-held {
  border-color: var(--accent);
}
.draft-hold {
  min-height: 44px;
  padding: 9px 12px;
  border: 0;
  border-top: 1px solid #41504a;
  border-radius: 0;
  background: #182123;
  color: var(--muted);
  font-size: 12px;
  text-align: left;
}
.draft-hold:hover,
.draft-hold:focus-visible {
  color: var(--ink);
  background: #2b3734;
}
.draft-hold[aria-pressed='true'] {
  color: var(--accent);
}
.mod-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 28px;
}
.mod-top kbd {
  align-self: flex-start;
}
.mod-mark {
  width: 56px;
  height: 48px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
.mod strong {
  font-size: 18px;
  letter-spacing: -0.4px;
  font-weight: 650;
}
.mod-copy {
  font-size: 14px;
  line-height: 1.55;
  color: #b0bdb5;
  margin-top: 10px;
}
.reforge-from {
  color: #d9b09b;
  font-size: 13px;
}
.reforge-loss {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
  margin-top: 6px;
}
.reforge-arrow {
  color: var(--accent);
  margin: 12px 0;
}
.reforge-choice .mod-top {
  margin-bottom: 16px;
}
.mod-path {
  color: var(--accent);
  font-size: 11px;
  line-height: 1.5;
  margin-top: auto;
  padding-top: 14px;
}
.actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 26px;
}

dialog.replay-dialog {
  width: min(960px, calc(100vw - 32px));
}
.replay-dialog h2 {
  margin-bottom: 16px;
}
.replay-canvas {
  display: block;
  width: 100%;
  height: auto;
  max-height: 50dvh;
  object-fit: contain;
  background: #14181a;
  cursor: default;
}
.replay-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin: 12px 0 20px;
}
#replay-status {
  font-size: 12px;
  color: var(--muted);
}
.reward-actions {
  margin-top: 18px;
  display: flex;
  justify-content: flex-end;
}

dialog.logbook-dialog {
  width: min(1160px, calc(100vw - 32px));
  padding: 30px;
  height: min(800px, calc(100dvh - 40px));
  overflow: hidden;
}
.logbook-dialog #dialog-content {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.logbook-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.logbook-header .eyebrow {
  font-size: 10px;
  letter-spacing: 2px;
  margin-bottom: 9px;
  color: var(--muted);
}
.logbook-header h2 {
  margin-bottom: 22px;
}
.logbook-header > button {
  align-self: flex-start;
}
.logbook-preview {
  color: var(--muted);
  font-size: 12px;
  margin: 0 0 18px;
}
.logbook-sections {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  border-bottom: 1px solid #35423f;
  margin-bottom: 24px;
}
.logbook-sections button {
  border-radius: 0;
  padding: 12px 16px;
  border-bottom: 2px solid transparent;
}
.logbook-sections button[aria-pressed='true'] {
  color: var(--ink);
  border-bottom-color: var(--accent);
}
.logbook-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 30px;
  flex: 1;
  min-height: 0;
}
.logbook-index {
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
#logbook-search {
  width: 100%;
  background: #121a1c;
  border: 1px solid #3b4643;
  border-radius: 2px;
  color: var(--ink);
  padding: 10px 12px;
  font-size: 14px;
}
.logbook-count {
  font:
    11px 'Courier New',
    monospace;
  color: var(--muted);
  margin: 12px 0;
}
.logbook-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(92px, 1fr));
  align-content: start;
  gap: 8px;
  min-height: 0;
  flex: 1;
  overflow-y: auto;
  scrollbar-width: thin;
  padding: 2px 5px 5px 2px;
}
.logbook-item {
  position: relative;
  overflow-wrap: anywhere;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 116px;
  background: #172224;
  border: 1px solid #354441;
  border-radius: 2px;
  text-align: center;
  padding: 9px;
  font-size: 12px;
  color: #b3bfba;
}
.logbook-item:hover {
  background: #202b2c;
  color: var(--ink);
}
.logbook-item[aria-pressed='true'] {
  background: #26322f;
  border-color: #546258;
  color: var(--ink);
}
.logbook-item .mod-mark,
.logbook-item .logbook-file {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
}
.logbook-file {
  fill: none;
  stroke: #a8b9ac;
  stroke-width: 1.5;
}
.logbook-item .new-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  font-size: 8px;
}
.logbook-sections .new-badge {
  margin-left: 6px;
}
.silhouette svg {
  fill: #374744;
  stroke: #7e8c83;
  opacity: 0.7;
}
.logbook-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 9px 0;
}
.logbook-filters button {
  font-size: 11px;
  padding: 7px 9px;
}
.logbook-filters button[aria-pressed='true'] {
  color: var(--ink);
  background: #31423b;
}
.logbook-family {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 11px;
  color: var(--muted);
}
.logbook-family select {
  min-width: 0;
  border: 1px solid #3b4643;
  border-radius: 2px;
  padding: 7px;
  background: #121a1c;
  color: var(--ink);
  font: inherit;
}
.logbook-list > .logbook-locked {
  grid-column: 1 / -1;
}
.logbook-unlock {
  font-size: 14px;
  line-height: 1.6;
  color: var(--accent);
}
.logbook-locked {
  padding: 18px 10px;
  margin: 12px 0 0;
  border-top: 1px solid #35423f;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}
.logbook-locked span {
  display: block;
  margin-top: 5px;
  color: #81908b;
}
.logbook-entry {
  border-left: 1px solid #35423f;
  padding: 12px 8px 10px 30px;
  min-width: 0;
  min-height: 0;
  overflow-y: auto;
  scrollbar-width: thin;
}
.logbook-entry-top {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}
.logbook-entry-top svg {
  width: 66px;
  height: 66px;
  flex-shrink: 0;
}
.logbook-entry h3 {
  overflow-wrap: anywhere;
  font-size: clamp(23px, 3vw, 32px);
  font-weight: 600;
  letter-spacing: -0.8px;
  margin: 5px 0 0;
}
.logbook-entry:focus-visible {
  outline: 1px solid var(--accent);
  outline-offset: -1px;
}
.logbook-entry-label {
  color: var(--accent);
  font:
    11px 'Courier New',
    monospace;
  margin: 0;
}
.logbook-function {
  color: #b7c6bd;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 30px;
}
.logbook-document {
  border-top: 1px solid #35423f;
  padding-top: 23px;
  max-width: 62ch;
}
.logbook-document > p {
  font:
    18px/1.75 Georgia,
    'Times New Roman',
    serif;
  color: #d6d9cb;
  margin: 0 0 20px;
}
.logbook-document .logbook-source,
.logbook-document .logbook-author {
  font:
    12px/1.6 'Courier New',
    monospace;
  color: #92a59a;
}
.logbook-document .logbook-author {
  margin: 28px 0 0;
}
.logbook-empty {
  padding: 40px 5px;
}
.logbook-empty p {
  color: var(--muted);
  line-height: 1.6;
}
@media (max-width: 680px) {
  dialog.logbook-dialog {
    padding: 20px;
    height: auto;
    overflow: auto;
  }
  .logbook-dialog #dialog-content {
    height: auto;
  }
  .logbook-header {
    position: sticky;
    top: -20px;
    z-index: 2;
    padding: 8px 0 12px;
    background: #182023;
  }
  .logbook-header h2 {
    margin-bottom: 0;
    font-size: 32px;
  }
  .logbook-header .eyebrow {
    margin-bottom: 5px;
  }
  .logbook-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }
  .logbook-list {
    max-height: 280px;
    min-height: 0;
  }
  .logbook-entry {
    border-left: 0;
    border-top: 1px solid #35423f;
    padding: 24px 0 0;
    max-height: none;
    overflow: visible;
  }
  .logbook-sections {
    gap: 0;
    margin-bottom: 18px;
  }
  .logbook-sections button {
    padding: 11px 10px;
    font-size: 13px;
  }
  .logbook-document > p {
    font-size: 17px;
  }
}
.reward-actions .quiet {
  padding: 10px 0;
}
.reward-actions .quiet:disabled {
  color: var(--muted);
  opacity: 0.5;
  cursor: default;
}
.result-line {
  color: #b5c3b9;
  font-size: 16px;
  line-height: 1.5;
  font-variant-numeric: tabular-nums;
  margin: 0;
}
.result-line span {
  padding: 0 9px;
  color: #677c72;
}
.ending-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}
.daily-best {
  color: var(--accent);
  font-size: 14px;
  margin: 14px 0 0;
}
.daily-best span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
}
.share-fallback {
  margin-top: 20px;
  font-size: 13px;
  color: var(--muted);
}
.share-link {
  display: block;
  width: 100%;
  margin-top: 8px;
  border: 1px solid #354440;
  border-radius: 3px;
  background: #121b19;
  color: var(--ink);
  padding: 12px;
  font: inherit;
}
.settings-list {
  border-top: 1px solid #354440;
}
.settings-list label {
  padding: 18px 0;
  border-bottom: 1px solid #354440;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
}
.settings-list input {
  accent-color: var(--accent);
  width: 18px;
  height: 18px;
}
.setting-value {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: #b2c0b7;
  font-size: 13px;
}
.first-session-tip {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 12px;
  width: max-content;
  max-width: calc(100% - 32px);
  padding: 9px 14px;
  border: 1px solid #344440;
  border-radius: 4px;
  background: #101a19ed;
  color: #d6dfd5;
  font-size: 13px;
  line-height: 1.5;
  pointer-events: none;
}
.first-session-tip button {
  padding: 2px 5px;
  min-height: 28px;
  pointer-events: auto;
}
.controls-dialog {
  max-width: 660px;
}
.control-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 28px;
  margin: 0;
}
.control-grid > div {
  padding: 14px 0;
  border-bottom: 1px solid #354440;
}
.control-grid dt {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 6px;
}
.control-grid dd {
  margin: 0;
  font-size: 15px;
  line-height: 1.4;
}
.recoil-demo {
  display: flex;
  gap: 22px;
  align-items: center;
  margin-top: 24px;
}
.recoil-demo svg {
  width: 86px;
  height: 86px;
  flex-shrink: 0;
  fill: none;
  stroke: #dce3d5;
  stroke-width: 3;
}
.recoil-demo .recoil-rise {
  stroke: var(--accent);
}
.recoil-demo .recoil-floor {
  stroke: #52635c;
}
.recoil-demo strong {
  font-size: 20px;
}
.recoil-demo p,
.controls-flow {
  font-size: 14px;
  line-height: 1.65;
  color: #b2c0b7;
  margin: 8px 0 0;
}
.controls-flow {
  margin-top: 20px;
}
.first-reward-note {
  margin: -12px 0 24px;
  font-size: 14px;
  line-height: 1.5;
  color: #b2c0b7;
}
#equipped-controls:empty {
  display: none;
}
@media (max-height: 650px) {
  dialog.controls-dialog {
    padding: 24px;
  }
  .controls-dialog h2 {
    margin-bottom: 16px;
  }
  .controls-dialog .control-grid > div {
    padding: 8px 0;
  }
  .controls-dialog .recoil-demo {
    margin-top: 16px;
  }
  .controls-dialog .recoil-demo svg {
    height: 64px;
    width: 64px;
  }
  .controls-dialog .controls-flow {
    margin-top: 12px;
  }
  .controls-dialog .actions {
    margin-top: 20px;
  }
}
@media (pointer: coarse) {
  .first-session-tip {
    bottom: 104px;
  }
}
@media (max-width: 450px) {
  .control-grid {
    gap: 0 16px;
  }
  .recoil-demo {
    gap: 14px;
  }
  .recoil-demo strong {
    font-size: 18px;
  }
  .recoil-demo svg {
    width: 64px;
    height: 72px;
  }
  .title-settings {
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
  }
}
.controller-settings {
  margin-top: 20px;
  font-size: 14px;
}
.controller-settings summary {
  cursor: pointer;
  padding: 8px 0;
}
.controller-note {
  color: #b2c0b7;
  font-size: 13px;
  line-height: 1.7;
}
.controller-slider {
  display: flex;
  align-items: center;
  gap: 12px;
}
.controller-slider input {
  width: clamp(75px, 20vw, 140px);
}
.controller-slider output {
  min-width: 5ch;
  font-size: 13px;
  text-align: right;
}
.settings-list label {
  gap: 16px;
}
.volume-slider input {
  width: clamp(90px, 22vw, 190px);
}
.binding-list {
  border-top: 1px solid #354440;
}
.binding-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #354440;
}
.binding-keys {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}
.binding-key {
  min-width: 44px;
  min-height: 36px;
  padding: 6px 10px;
  border: 1px solid #52635c;
  border-radius: 3px;
  background: #121b19;
  font-size: 13px;
}
.binding-key[aria-pressed='true'] {
  color: var(--accent);
  border-color: var(--accent);
}
.binding-row > span:first-child {
  min-width: 95px;
}
.binding-status {
  min-height: 2em;
}
.settings-dialog {
  --settings-padding: 36px;
  overflow: hidden;
}
.settings-dialog[open] {
  display: flex;
  flex-direction: column;
}
.settings-dialog #dialog-content {
  display: flex;
  flex-direction: column;
  min-height: 0;
  max-height: calc(100dvh - 42px - 2 * var(--settings-padding));
}
.settings-dialog .modal-save-warning {
  flex-shrink: 0;
  align-self: flex-start;
}
.settings-scroll {
  overflow: auto;
  min-height: 0;
  scroll-padding: 12px;
  padding: 6px 10px 6px 0;
}
.settings-dialog h2 {
  flex-shrink: 0;
  margin-bottom: 16px;
}
.settings-dialog .settings-list label {
  padding: 12px 0;
}
.settings-dialog #dialog-content > .actions {
  flex-shrink: 0;
  margin-top: 16px;
  padding-top: 8px;
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
body[data-input='controller'] :is(button, a[href], summary, input):focus {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
body[data-input='controller'] .mod-top kbd {
  visibility: hidden;
}
body[data-input='controller'] .touch-controls {
  display: none !important;
}
body[data-input='controller'] canvas {
  cursor: none;
}
.controls-copy {
  font-size: 14px;
  color: #b2c0b7;
  line-height: 1.6;
  margin-top: 26px;
}
.controls-copy p {
  margin: 8px 0;
}
.controls-copy span {
  padding: 0 12px;
  color: #718278;
}
.build {
  margin-top: 20px;
  color: #b6c5bb;
  font-size: 14px;
}
.build summary {
  cursor: pointer;
  display: inline-block;
  padding: 8px 0;
}
.build ul {
  padding: 0;
  list-style: none;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  color: #d8e1d6;
}
.run-recap {
  margin-top: 22px;
  border-top: 1px solid #354440;
  font-size: 14px;
}
.run-recap > summary {
  cursor: pointer;
  padding: 16px 0;
  color: var(--ink);
}
.recap-body {
  padding: 0 0 14px;
}
.recap-facts {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 10px 14px;
  line-height: 1.5;
}
.recap-facts dt,
.recap-note,
.run-recap time {
  color: #a8b4ae;
}
.recap-facts dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.recap-seed {
  font-family: 'Courier New', monospace;
}
.recap-body h3 {
  margin: 24px 0 12px;
  font-size: 14px;
  font-weight: 600;
}
.recap-build {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  color: #d8e1d6;
  line-height: 1.6;
}
.recap-note {
  font-size: 13px;
  line-height: 1.6;
}
.recap-body .actions {
  gap: 6px;
  margin-top: 18px;
}
.run-history-list .run-recap {
  margin-top: 0;
}
.recap-heading {
  display: inline-flex;
  width: calc(100% - 22px);
  justify-content: space-between;
  gap: 12px;
  line-height: 1.6;
}
.recap-heading > span {
  white-space: nowrap;
  color: #a8b4ae;
}
.run-recap time {
  display: block;
  margin: 6px 0 0 18px;
  font-size: 12px;
}
.touch-controls {
  display: none;
  position: absolute;
  bottom: 30px;
  left: 20px;
  right: 20px;
  justify-content: space-between;
  pointer-events: none;
}
.touch-controls > div {
  display: flex;
  gap: 12px;
}
.touch-controls button {
  width: 50px;
  height: 50px;
  border: 1px solid #8a9e9077;
  border-radius: 50%;
  background: #24332cb0;
  color: #d8e4d7;
  font-size: 25px;
  pointer-events: auto;
  touch-action: none;
}
.sr-only {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
@media (pointer: coarse) {
  body[data-mode='playing'] .touch-controls {
    display: flex;
  }
  canvas {
    cursor: crosshair;
  }
}
@media (max-width: 600px) {
  .hud {
    inset: 14px 16px auto;
  }
  .run-info {
    gap: 8px;
  }
  progress {
    width: 85px;
  }
  dialog {
    padding: 24px;
    width: calc(100% - 28px);
  }
  .settings-dialog {
    --settings-padding: 24px;
  }
  h2 {
    margin-bottom: 22px;
  }
  .ending-dialog #dialog-content > .actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .ending-dialog #dialog-content > .actions > .primary {
    grid-column: 1 / -1;
    min-width: 0;
  }
  .choices {
    grid-template-columns: 1fr;
    gap: 9px;
  }
  .mod {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    column-gap: 17px;
    padding: 14px;
  }
  .mod-top {
    grid-row: 1/3;
    margin: 0;
    position: relative;
  }
  .mod-top kbd {
    display: none;
  }
  .mod-copy {
    margin-top: 5px;
  }
  .mod-path {
    grid-column: 2;
    padding-top: 6px;
  }
  .mod strong {
    align-self: end;
  }
  .reforge-choice > :not(.mod-top) {
    grid-column: 2;
  }
  .reforge-choice .mod-top {
    grid-column: 1;
    grid-row: 1 / 7;
    align-self: start;
    margin: 0;
  }
  .title-controls {
    max-width: 320px;
    margin: 32px auto 0;
    line-height: 1.8;
  }
  .title-controls i {
    padding: 0 1px;
  }
  .title-settings {
    right: 10px;
    bottom: 8px;
  }
}
@media (max-height: 520px) {
  .update-link {
    margin-bottom: 12px;
    padding-block: 6px;
  }
  #title-screen {
    padding: 26px 20px 55px;
    place-items: start center;
  }
  h1 {
    margin-bottom: 23px;
  }
  h1 > span {
    font-size: 72px;
  }
  h1 > small {
    margin-top: 14px;
    font-size: 12px;
  }
  .title-controls {
    margin-top: 20px;
  }
  .recoil-hint {
    margin-top: 9px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}

#portal-touch[aria-pressed='true'] {
  border-color: #64ceff;
  color: #64ceff;
  background: #193d51;
}

body[data-workshop='true'] .health-meter {
  visibility: hidden;
}
.workshop-tools {
  display: flex;
  align-items: center;
  gap: 8px;
}
.workshop-tools[hidden] {
  display: none;
}
.workshop-tools .quiet {
  padding: 6px 10px;
}
.workshop-tools .icon {
  font-size: 23px;
}
dialog.workshop-dialog {
  --workshop-padding: 36px;
  width: min(760px, calc(100% - 28px));
  overflow: hidden;
}
.workshop-dialog[open] {
  display: flex;
  flex-direction: column;
}
.workshop-dialog #dialog-content {
  display: flex;
  flex-direction: column;
  min-height: 0;
  max-height: calc(100dvh - 42px - 2 * var(--workshop-padding));
}
.workshop-dialog h2,
.workshop-tabs,
.workshop-actions {
  flex-shrink: 0;
}
#workshop-build,
#workshop-appearance {
  min-height: 0;
  overflow-y: auto;
  scroll-padding: 8px;
  padding: 2px 6px 8px 2px;
}
.workshop-dialog h2 {
  margin-bottom: 24px;
}
.workshop-dialog .practice-note {
  margin-top: 0;
}
.workshop-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.workshop-mod {
  text-align: left;
  padding: 14px;
  border: 1px solid #3b4a48;
  border-radius: 3px;
  background: #1b282b;
  color: var(--ink);
}
.workshop-mod:hover:not(:disabled) {
  background: #233439;
  border-color: #94b7ac;
}
.workshop-mod[aria-pressed='true'] {
  border-color: #b8d0b7;
  background: #2b3b36;
}
.workshop-mod:disabled {
  opacity: 0.5;
  cursor: default;
}
.workshop-mod-name {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  font-size: 15px;
}
.workshop-mod-name > span {
  color: #b8d0b7;
}
.workshop-mod-copy {
  display: block;
  color: #a6b5ae;
  font-size: 13px;
  line-height: 1.45;
  margin-top: 7px;
}
.workshop-mod .mod-path {
  font-size: 10px;
  padding-top: 9px;
}
.workshop-status {
  flex-basis: 100%;
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 6px;
}
.workshop-search {
  display: block;
  width: 100%;
  padding: 11px 13px;
  margin-bottom: 14px;
  border: 1px solid #4b5b56;
  background: #111b1e;
  color: var(--ink);
  font: inherit;
  border-radius: 3px;
}
.workshop-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 16px 0 0;
  background: #182023;
}
.workshop-actions .quiet:disabled {
  opacity: 0.4;
  cursor: default;
}
.workshop-actions .primary:disabled {
  opacity: 0.45;
  cursor: default;
}
#blueprint-title {
  overflow-wrap: anywhere;
}
.blueprint-panel {
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.blueprint-scroll {
  min-height: 0;
  overflow-y: auto;
  overflow-wrap: anywhere;
  padding: 2px 6px 8px 2px;
}
.blueprint-slots .practice-fight {
  gap: 12px;
}
.blueprint-slots .practice-fight > span:first-child {
  overflow-wrap: anywhere;
}
.blueprint-slots .practice-fight > span:last-child {
  flex-shrink: 0;
  font-size: 12px;
}
.blueprint-slots small {
  margin-right: 12px;
  color: var(--muted);
  font-family: monospace;
}
.blueprint-slots button:disabled {
  opacity: 0.45;
  cursor: default;
}
.blueprint-code {
  min-height: 100px;
  resize: vertical;
  overflow-wrap: anywhere;
  font-family: monospace;
}
.blueprint-status {
  color: var(--muted);
  font-size: 13px;
  margin: 12px 0 0;
  flex-shrink: 0;
}
.blueprint-status:empty {
  display: none;
}
.blueprint-scroll .blueprint-note {
  margin: 16px 0 0;
}
@media (max-width: 600px) {
  dialog.workshop-dialog {
    --workshop-padding: 24px;
  }
  .workshop-list {
    grid-template-columns: 1fr;
  }
  .workshop-actions .primary {
    width: 100%;
  }
  .workshop-tools {
    gap: 2px;
  }
}
.workshop-tabs {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid #35433f;
  margin: 0 0 22px;
}
.workshop-tabs button[aria-pressed='true'] {
  color: #e7e8db;
  box-shadow: inset 0 -2px #a5c9b7;
}
.appearance-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 1fr);
  gap: 24px;
  align-items: center;
}
.appearance-preview {
  position: sticky;
  top: 0;
  align-self: start;
  margin: 0;
  background: #111b1d;
  border: 1px solid #34413e;
  border-radius: 3px;
  overflow: hidden;
}
.appearance-preview canvas {
  display: block;
  width: 100%;
  height: auto;
  cursor: default;
}
.appearance-preview figcaption {
  color: #b1beb6;
  font: 11px/1.6 monospace;
  text-align: center;
  padding: 0 10px 15px;
}
.appearance-options {
  display: grid;
  gap: 20px;
  min-width: 0;
}
.appearance-options fieldset {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}
.appearance-options legend {
  color: #b1beb6;
  font: 11px/1.5 monospace;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 9px;
}
.appearance-choices {
  display: grid;
  gap: 6px;
}
.appearance-choice {
  display: flex;
  gap: 12px;
  align-items: center;
  width: 100%;
  padding: 10px 12px;
  min-height: 42px;
  text-align: left;
  background: #192326;
  border: 1px solid #35443f;
  border-radius: 2px;
  font-size: 14px;
}
.appearance-choice[aria-pressed='true'] {
  border-color: #acccbb;
  background: #263530;
}
.appearance-choice:disabled {
  opacity: 0.55;
  cursor: default;
}
.appearance-choice small {
  display: block;
  margin-top: 3px;
  font-size: 11px;
  color: #a7b7ad;
}
.appearance-swatch {
  flex: 0 0 16px;
  height: 16px;
  background: var(--swatch);
  border: 2px solid #0e181c;
  box-shadow: 0 0 0 1px #607168;
}
.appearance-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 20px;
}
.appearance-footer p {
  color: #aab8b1;
  font-size: 12px;
  line-height: 1.6;
  margin: 0;
}
.appearance-footer button {
  flex-shrink: 0;
  font-size: 13px;
}
.commendation-mark {
  stroke: #72817b;
}
.commendation-notice {
  position: absolute;
  bottom: 48px;
  left: 50%;
  transform: translateX(-50%);
  max-width: calc(100% - 40px);
  padding: 10px 16px;
  border: 1px solid #5e7465;
  border-radius: 3px;
  background: #172320ed;
  color: #e5e7d6;
  font-size: 13px;
  text-align: center;
  pointer-events: none;
}
.commendation-mark.earned {
  stroke: #c8b482;
}
.commendation-reward {
  color: #d4c39b;
  border-left: 2px solid #a29570;
  padding-left: 14px;
  font-size: 15px;
  line-height: 1.5;
  margin: 20px 0 10px;
}
.commendation-reward span {
  display: block;
  font-size: 12px;
  color: #aeb9b1;
  margin-top: 4px;
}
.commendation-equip {
  font-size: 13px;
  margin: 0 0 18px;
}
.result-commendations {
  margin-top: 18px;
  border-left: 2px solid #a29570;
  padding-left: 12px;
}
.result-commendations > span {
  display: block;
  font: 11px/1.5 monospace;
  color: #c8b482;
}
.result-commendations > button {
  padding: 8px 0;
  font-size: 14px;
  text-align: left;
}
@media (max-width: 600px) {
  .appearance-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .appearance-preview {
    position: static;
    max-width: 340px;
    width: 100%;
    margin: auto;
  }
  .appearance-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .appearance-choice {
    padding: 9px 7px;
    gap: 7px;
    font-size: 12px;
  }
  .appearance-footer {
    align-items: start;
    flex-direction: column;
    gap: 5px;
  }
}
.save-warning {
  position: absolute;
  bottom: 18px;
  left: 18px;
  max-width: calc(100% - 36px);
  padding: 9px 13px;
  color: #eed4a0;
  background: #192021;
  border: 1px solid #796c4c;
  font-size: 12px;
  z-index: 8;
}
.modal-save-warning {
  position: static;
  margin-top: 20px;
  max-width: 100%;
}
.progress-dialog {
  max-width: 680px;
}
.progress-intro,
.progress-detail,
.progress-state,
.progress-feedback,
.import-preview p {
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.progress-intro {
  margin: 18px 0;
  color: var(--muted, #aebdb6);
}
.progress-summary {
  line-height: 1.6;
}
.progress-detail {
  font-size: 13px;
  color: #aebdb6;
  margin: 8px 0 20px;
}
.progress-state {
  font-size: 14px;
  margin: 14px 0;
}
.progress-feedback {
  font-size: 13px;
  color: #eed4a0;
  margin: 15px 0;
}
.progress-feedback:empty {
  display: none;
}
.import-preview {
  border: 1px solid #66796e;
  padding: 18px;
  margin-top: 20px;
}
.import-preview p {
  margin: 10px 0;
  font-size: 14px;
}
.progress-dialog .actions {
  flex-wrap: wrap;
  gap: 8px 14px;
}
@media (max-width: 450px) {
  .progress-dialog {
    padding: 23px;
  }
  .progress-intro {
    font-size: 14px;
  }
  .import-preview {
    padding: 13px;
  }
}

/* Readable menu copy without competing with the in-game HUD. */
.credits-copy {
  max-width: 60ch;
  color: #b5c3b9;
  font-size: 15px;
  line-height: 1.7;
}
.credits-copy strong {
  color: var(--ink);
}
.credits-copy dl {
  margin: 28px 0 0;
}
.credits-copy dt {
  color: var(--accent);
  font-size: 12px;
  margin-top: 20px;
}
.credits-copy dd {
  margin: 5px 0 0;
}
.actions a.quiet {
  text-decoration: none;
}
.settings-credits {
  padding-left: 0;
  margin-top: 12px;
}
.presentation-note {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
  margin: 12px 0;
}
.settings-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 24px;
}
dialog.feedback-dialog {
  width: min(860px, calc(100% - 40px));
  padding: 24px;
}
.feedback-dialog h2 {
  margin-bottom: 12px;
}
.feedback-dialog .progress-intro {
  font-size: 14px;
  line-height: 1.5;
}
.feedback-dialog .issue-label {
  margin: 12px 0 6px;
}
.feedback-dialog .actions {
  margin-top: 18px;
}
.feedback-types {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}
.feedback-types button {
  padding: 9px 14px;
  border: 1px solid transparent;
}
.feedback-types [aria-pressed='true'] {
  color: var(--ink);
  border-color: var(--accent);
  background: #acc3b614;
}
.issue-label {
  display: block;
  color: var(--muted);
  font-size: 13px;
  margin: 20px 0 8px;
}
.issue-details {
  display: block;
  box-sizing: border-box;
  width: 100%;
  height: clamp(130px, 32vh, 300px);
  resize: vertical;
  padding: 14px;
  background: #0b1417;
  color: var(--ink);
  border: 1px solid #40524f;
  border-radius: 3px;
  font:
    13px/1.6 ui-monospace,
    monospace;
}
.issue-details:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.playtest-answer {
  height: 64px;
  min-height: 64px;
  font: inherit;
  font-size: 14px;
  line-height: 1.5;
  padding: 10px 12px;
}
.playtest-experience {
  max-width: 100%;
  padding: 9px 12px;
  background: #0b1417;
  color: var(--ink);
  border: 1px solid #40524f;
  border-radius: 3px;
  font: inherit;
  font-size: 14px;
}
.playtest-summary {
  margin-top: 14px;
}
.playtest-summary summary {
  color: var(--muted);
  cursor: pointer;
  font-size: 14px;
}
.playtest-experience:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.ending-dialog .ending-note {
  max-width: 48ch;
}
.appearance-choice > span:last-child {
  min-width: 0;
  overflow-wrap: anywhere;
}

@media (min-width: 681px) and (max-width: 850px) {
  .logbook-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 20px;
  }
  .logbook-entry {
    padding-left: 20px;
  }
}
@media (max-height: 600px) and (min-width: 681px) {
  dialog.logbook-dialog {
    padding: 20px;
  }
  .logbook-header h2 {
    margin-bottom: 12px;
  }
  .logbook-preview {
    margin-bottom: 8px;
  }
  .logbook-sections {
    margin-bottom: 14px;
  }
}
@media (max-width: 600px) {
  .ending-dialog #dialog-content > .actions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .ending-dialog .actions > .quiet {
    padding: 12px 8px;
  }
}
@media (max-height: 520px), (max-width: 450px) {
  #title-screen {
    grid-template-rows: 1fr auto;
    row-gap: 28px;
    padding-bottom: 16px;
  }
  .title-settings {
    position: static;
    flex-wrap: wrap;
    justify-content: center;
  }
}
@media (max-height: 520px) {
  #title-screen:has(.next-goal:not([hidden])) {
    padding-top: 18px;
    row-gap: 16px;
  }
  .title-content:has(.next-goal:not([hidden])) .title-controls {
    display: none;
  }
  .title-content:has(.next-goal:not([hidden])) .update-link {
    padding-block: 4px;
    margin-bottom: 8px;
  }
  .title-content:has(.next-goal:not([hidden])) h1 {
    margin-bottom: 16px;
  }
  .next-goal {
    margin-top: 12px;
    padding-block: 10px;
  }
}

/* The ending has one control, outside the combat HUD. */
#clock-out-controls {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
#clock-out-controls[hidden] {
  display: none;
}
#skip-clock-out {
  position: absolute;
  right: max(24px, env(safe-area-inset-right));
  bottom: max(24px, env(safe-area-inset-bottom));
  pointer-events: auto;
  color: #c4d1c7;
  background: #152025;
  border: 1px solid #455957;
  padding: 12px 22px;
}
body[data-clock-out='true'] .hud,
body[data-clock-out='true'] .touch-controls {
  visibility: hidden;
}
.clock-out-reward {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 12px;
  margin: 24px 0;
  border-block: 1px solid #384845;
  padding: 16px 0;
}
.clock-out-reward > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
}
.clock-out-reward canvas {
  width: auto;
  max-width: 100%;
  height: 100px;
  object-fit: contain;
}
.clock-out-reward span {
  font-size: 14px;
  color: #e5e9db;
}
.clock-out-reward small {
  font-size: 11px;
  color: #9badab;
  margin-top: 6px;
}
@media (max-height: 650px) {
  .clock-out-reward {
    margin: 14px 0;
    padding: 8px 0;
  }
  .clock-out-reward canvas {
    height: 66px;
  }
}
.security-selector {
  display: block;
  margin: 10px 0 2px;
  font-size: 13px;
}
.security-selector[hidden] {
  display: none;
}
.security-levels {
  display: grid;
  gap: 10px;
  margin: 24px 0;
}
.security-choice {
  text-align: left;
  display: grid;
  gap: 7px;
  padding: 16px 20px;
  background: transparent;
  border: 1px solid #455653;
  border-radius: 3px;
}
.security-choice[aria-pressed='true'] {
  border-color: #e7e8db;
  background: #293936;
}
.security-choice span {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  color: #bdc9c3;
}
.security-choice small {
  font-size: 12px;
  font-weight: 400;
  color: #a4b5ad;
}
.security-choice:disabled {
  opacity: 0.55;
  cursor: default;
}

.logbook-goals {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0 0 14px;
  padding: 12px;
  background: #121b1d;
  border: 1px solid #344448;
  border-radius: 8px;
}
.logbook-goals[hidden] {
  display: none;
}
.logbook-goals > strong {
  font-size: 12px;
  color: #b8ddc9;
}
.logbook-goals button {
  padding: 7px 10px;
  font-size: 12px;
}
.logbook-goals button span {
  margin-left: 9px;
  color: #b8ddc9;
}
.logbook-goals p {
  width: 100%;
  margin: 2px 0 0;
  font-size: 11px;
  color: #9caeae;
  line-height: 1.5;
}
.logbook-goal {
  padding: 12px;
  margin: 16px 0;
  background: #10191a;
  border: 1px solid #344448;
  border-radius: 8px;
  font-size: 12px;
}
.logbook-goal strong {
  display: block;
  margin-bottom: 8px;
  color: #b8ddc9;
}
.logbook-goal progress {
  width: calc(100% - 55px);
  height: 8px;
  accent-color: #b8ddc9;
}
.logbook-goal span {
  margin-left: 12px;
}
.logbook-goal p {
  line-height: 1.6;
  margin-bottom: 0;
}
.uprising-map {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 24px 0 12px;
}
.uprising-map li {
  padding: 14px 12px;
  border: 1px solid #3b4c50;
  border-radius: 8px;
  background: #152026;
  min-width: 0;
}
.uprising-map li[aria-current] {
  border-color: var(--accent);
}
.uprising-map span,
.uprising-map small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}
.uprising-map strong {
  display: block;
  font-size: 14px;
  line-height: 1.4;
  margin: 6px 0;
}
.uprising-finale {
  font-size: 13px;
  color: var(--muted);
}
.uprising-choices {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
  gap: 12px;
  margin-top: 20px;
}
.job-choice {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: left;
  padding: 18px;
  min-width: 0;
  border: 1px solid #3b4c50;
  border-radius: 8px;
  background: #1b292d;
  color: var(--ink);
  font: inherit;
}
.job-choice:hover,
.job-choice:focus-visible {
  border-color: var(--accent);
  background: #243238;
}
.job-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.job-title strong {
  font-size: 18px;
  line-height: 1.3;
}
.job-title kbd {
  flex-shrink: 0;
  color: var(--muted);
  font-size: 11px;
}
.job-choice p {
  margin: 14px 0;
  font-size: 14px;
  line-height: 1.45;
}
.uprising-choices .tag {
  font-size: 12px;
  color: var(--muted);
  margin-top: 6px;
}
.uprising-effect {
  margin-top: auto;
  font-size: 13px;
  color: #b9d4cf;
  line-height: 1.4;
}
.uprising-reward {
  margin: 16px 0;
  font-size: 13px;
  color: var(--muted);
}
.uprising-progress {
  border-top: 1px solid #39474b;
  padding-top: 12px;
  color: var(--muted);
  font-size: 13px;
}
.uprising-progress .uprising-map {
  margin-top: 16px;
}
.uprising-status {
  position: absolute;
  bottom: max(24px, env(safe-area-inset-bottom));
  left: 50%;
  transform: translateX(-50%);
  max-width: calc(100% - 32px);
  width: max-content;
  margin: 0;
  padding: 10px 14px;
  background: #122127ed;
  color: #d9e7df;
  border: 1px solid #628d91;
  border-radius: 6px;
  font-size: 13px;
  text-align: center;
  pointer-events: none;
}
@media (max-width: 600px) {
  .uprising-map {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .uprising-choices {
    grid-template-columns: 1fr;
  }
  .uprising-status {
    font-size: 12px;
    bottom: max(88px, env(safe-area-inset-bottom));
  }
}

/* The finale tells its story with staging and sound. Escape remains available. */
body[data-finale-scene='true'] .hud > .health-meter,
body[data-finale-scene='true'] #stage,
body[data-finale-scene='true'] #factory-condition,
body[data-finale-scene='true'] #commendation-notice,
body[data-finale-scene='true'] #uprising-status,
body[data-finale-scene='true'] #first-session-tip {
  visibility: hidden;
}
body[data-finale-movie='true'] .touch-controls {
  visibility: hidden;
  pointer-events: none;
}

.settings-list select {
  max-width: 55%;
  padding: 8px 12px;
  border: 1px solid #52635e;
  border-radius: 4px;
  background: #172025;
  color: #e9ece0;
  font: inherit;
}
.settings-list select:focus-visible {
  outline: 2px solid #edbd72;
  outline-offset: 3px;
}

.health-meter {
  position: relative;
  width: 108px;
  height: 5px;
  background: #3b4747;
}
.health-meter progress {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: transparent;
}
#health::-webkit-progress-bar {
  background: transparent;
}
#health-trail {
  position: absolute;
  inset: 0 auto 0 0;
  width: 100%;
  background: #c88670;
}
.damage-summary {
  margin: 16px 0 0;
  padding-top: 12px;
  border-top: 1px solid #354440;
  font-size: 13px;
  line-height: 1.5;
  text-align: left;
}
.damage-summary summary {
  cursor: pointer;
  color: #d5dfd6;
}
.damage-summary p,
.damage-summary ul {
  color: var(--muted);
  margin: 8px 0;
}
.damage-summary ul {
  padding-left: 20px;
}

@media (max-width: 600px) {
  .health-meter {
    width: 85px;
  }
}

.route-history {
  margin-top: 16px;
  border-top: 1px solid #354440;
  padding-top: 12px;
  font-size: 13px;
  color: var(--muted);
}
.route-history summary {
  cursor: pointer;
  color: var(--ink);
}
.route-history ol {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
}
.route-history li {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  justify-content: space-between;
  padding: 8px 0;
}
.route-history strong {
  font-weight: 500;
  color: var(--ink);
}

/* Service choices stay a compact two-column workbench. */
.shift-office-dialog .choices {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.shift-office-dialog .mod {
  min-height: 112px;
  padding: 18px;
}
@media (max-width: 620px) {
  .shift-office-dialog .choices {
    grid-template-columns: 1fr;
  }
  .shift-office-dialog .mod {
    min-height: 92px;
  }
}

/* The incoming bench uses real health and the existing compact damage meter. */
body[data-workshop='true'][data-workshop-scenario='incoming'] .health-meter {
  visibility: visible;
}
.workshop-range {
  max-width: 175px;
  border: 1px solid #42565b;
  border-radius: 3px;
  padding: 5px 7px;
  color: #dce6db;
  background: #152125;
  font: inherit;
  font-size: 12px;
}
.workshop-range:focus-visible {
  outline: 2px solid #eabf81;
  outline-offset: 3px;
}
@media (max-width: 620px) {
  .workshop-range {
    max-width: 112px;
    padding-inline: 3px;
    font-size: 11px;
  }
}

/* Private fixed-input comparisons keep the two actual range views together. */
.seed-lock-dialog {
  width: min(1050px, 95vw);
  max-width: 1050px;
}
.seed-lock-canvases {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 20px 0;
}
.seed-lock-figure {
  margin: 0;
  min-width: 0;
}
.seed-lock-figure figcaption {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 8px;
}
.seed-lock-canvas {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border: 1px solid #42565b;
}
.seed-lock-intro {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}
.seed-lock-pair {
  border-top: 1px solid #42565b;
  margin-top: 20px;
  padding-top: 10px;
}
.seed-lock-pair h3 {
  margin-bottom: 8px;
}
.seed-lock-measurements {
  display: grid;
  grid-template-columns: minmax(130px, 1fr) minmax(0, 2fr);
  gap: 7px 16px;
  font-size: 14px;
}
.seed-lock-measurements dt,
.seed-lock-measurements dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.seed-lock-measurements dt {
  color: var(--muted);
}
.seed-lock-status {
  border-left: 3px solid #eabf81;
  padding-left: 12px;
}
.seed-lock-status[data-passed='true'] {
  border-color: #a9d3bc;
  color: #bde4ce;
}
@media (max-width: 620px) {
  .seed-lock-canvases {
    grid-template-columns: 1fr;
  }
  .seed-lock-measurements {
    grid-template-columns: minmax(100px, 1fr) minmax(0, 1.5fr);
    font-size: 13px;
  }
}

.courier-reward-cue {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0 0 1.25rem;
  padding: 0.85rem 1rem;
  border: 1px solid #796449;
  background: #211e19;
  color: #edc486;
}
.courier-reward-cue svg {
  flex: 0 0 3rem;
  width: 3rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linejoin: round;
}
.courier-reward-cue strong,
.courier-reward-cue span {
  display: block;
}
.courier-reward-cue span {
  margin-top: 0.35rem;
  color: #d0c7b8;
  font-size: 0.85rem;
  line-height: 1.5;
}
.starting-gun-intro {
  margin-bottom: 22px;
  color: #b2bfba;
}
.starting-gun-choices {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}
.starting-gun-choice {
  padding: 14px;
  text-align: left;
  border: 1px solid #3b5156;
  background: #162226;
  border-radius: 5px;
}
.starting-gun-option {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.starting-gun-option .starting-gun-choice {
  width: 100%;
  flex: 1;
}
.starting-gun-try {
  width: 100%;
}
.starting-gun-challenge {
  margin: 0;
  padding: 10px;
}
.starting-gun-challenge progress,
.logbook-weapon-challenge progress {
  width: 100%;
}
.starting-gun-challenge span,
.logbook-weapon-challenge span {
  display: block;
  margin: 8px 0 0;
}
.starting-gun-choice[aria-pressed='true'] {
  border-color: #e8b56c;
  background: #25312e;
  box-shadow: inset 0 0 0 1px #e8b56c;
}
.starting-gun-choice canvas {
  display: block;
  width: 120px;
  max-width: 100%;
  height: 60px;
  margin: 0 0 10px;
  border-radius: 3px;
}
.starting-gun-choice strong,
.starting-gun-choice span {
  display: block;
}
.starting-gun-choice strong {
  font-size: 17px;
  margin-bottom: 8px;
}
.starting-gun-choice span {
  color: #e8b56c;
  font-size: 12px;
  line-height: 1.5;
}
.starting-gun-detail {
  color: #b2bfba;
  font-size: 14px;
  line-height: 1.5;
  margin: 0 0 18px;
}
.workshop-starter {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  margin: 12px 0;
}
.workshop-starter select {
  color: #e2e5d9;
  background: #162226;
  border: 1px solid #3b5156;
  border-radius: 4px;
  padding: 8px;
  font: inherit;
}
@media (max-width: 620px) {
  .starting-gun-choices {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .starting-gun-choice {
    padding: 14px;
  }
  .starting-gun-choice canvas {
    float: right;
    width: 96px;
    height: 48px;
    margin: 0 0 8px 10px;
  }
}

.tool-trial-header,
.tool-trial-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.tool-trial-header h2 {
  margin-bottom: 0;
}
.tool-trial-header > button {
  flex: 0 0 auto;
}
.tool-trial-summary > p {
  max-width: 560px;
  color: #c5cec5;
  line-height: 1.5;
}
.tool-trial-mechanism {
  display: block;
  width: 210px;
  height: 70px;
  flex: 0 0 210px;
  border: 1px solid #344749;
  border-radius: 4px;
  background: #111c1f;
}
.tool-trial-scope,
.tool-trial-controls,
.tool-trial-status {
  color: #aebdb5;
  font-size: 12px;
  line-height: 1.5;
}
.tool-trial-scope {
  margin: 4px 0 12px;
}
.tool-trial-drill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin: 0 0 10px;
}
.tool-trial-drill p {
  flex: 1 1 240px;
  margin: 0;
  color: #d7e6dc;
  font-size: 14px;
}
.tool-trial-drill label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #b9c9c0;
}
.tool-trial-drill select {
  color-scheme: dark;
  font: inherit;
  padding: 4px;
}
.tool-trial-canvas {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 920 / 380;
  border: 1px solid #40585a;
  border-radius: 4px;
  background: #0c1518;
  touch-action: none;
}
.tool-trial-canvas:focus-visible {
  outline: 2px solid #e8b56c;
  outline-offset: 3px;
}
.tool-trial-controls {
  margin: 12px 0;
}
.tool-trial-touch {
  display: none;
  gap: 8px;
  margin: 12px 0;
}
.tool-trial-touch > button {
  min-width: 56px;
  min-height: 42px;
  touch-action: none;
}
.tool-trial-status {
  align-self: center;
}
@media (pointer: coarse) {
  .tool-trial-touch {
    display: flex;
  }
}
@media (max-width: 620px) {
  .tool-trial-header {
    align-items: flex-start;
    gap: 12px;
  }
  .tool-trial-header h2 {
    font-size: 28px;
  }
  .tool-trial-summary {
    gap: 12px;
  }
  .tool-trial-summary > p {
    font-size: 13px;
  }
  .tool-trial-mechanism {
    width: 150px;
    height: 50px;
    flex-basis: 150px;
  }
  .tool-trial-canvas {
    aspect-ratio: 920 / 440;
  }
}
.build-bench .bench-selectors,
.build-bench .bench-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: end;
}
.build-bench .bench-selectors {
  margin-bottom: 8px;
}
.build-bench label {
  display: flex;
  flex-direction: column;
  gap: 5px;
  color: var(--muted);
  font-size: 12px;
}
.build-bench select {
  padding: 8px 10px;
  border: 1px solid #4b5b56;
  background: #111b1e;
  color: var(--ink);
  border-radius: 3px;
  font: inherit;
  max-width: 100%;
}
.bench-selected {
  margin: 12px 0 18px;
  border-bottom: 1px solid #35433f;
  padding-bottom: 12px;
}
.bench-selected summary {
  cursor: pointer;
  font-size: 13px;
  color: #bed0c4;
  padding: 4px 0;
}
.bench-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
  margin-top: 6px;
}
.bench-chips .bench-path-link {
  padding: 5px 8px;
  border: 1px solid #3b4a48;
  font-size: 12px;
  line-height: 1.3;
}
.bench-chips .bench-path-link:hover {
  border-color: #aac6b6;
}
.bench-uncollected {
  color: var(--muted);
  font-size: 12px;
  padding: 5px;
}
.bench-browse {
  margin-bottom: 14px;
}
.bench-browse .workshop-search {
  margin-bottom: 8px;
}
.bench-filters label {
  flex: 1 1 145px;
}
.bench-filters .quiet {
  padding: 9px;
  font-size: 12px;
}
.bench-results {
  color: var(--muted);
  font-size: 12px;
  margin: 10px 0;
}
.bench-choice .workshop-mod-copy {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.bench-choice[aria-expanded='true'] {
  outline: 1px solid #edbd77;
  outline-offset: -1px;
}
.bench-availability {
  display: block;
  margin-top: 10px;
  color: #c7b99d;
  font-size: 11px;
  line-height: 1.35;
}
.bench-inspector {
  margin: 0 0 18px;
  padding: 16px;
  border: 1px solid #716443;
  border-radius: 3px;
  background: #19282b;
}
.bench-inspector[hidden] {
  display: none;
}
.bench-inspector-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.bench-inspector-heading h3 {
  margin: 0;
  font-size: 19px;
}
.bench-inspector-heading .quiet {
  padding: 5px 7px;
  font-size: 12px;
}
.bench-inspector > p {
  margin: 8px 0 12px;
  font-size: 13px;
  line-height: 1.5;
}
.bench-path {
  margin: 12px 0;
}
.bench-path > strong {
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}
.bench-removal {
  border-left: 2px solid #d5ab72;
  padding: 2px 12px;
  margin: 12px 0;
  color: #e1c9a3;
  font-size: 13px;
}
.bench-removal ul {
  margin: 8px 0;
  padding-left: 18px;
}
.bench-removal p {
  color: var(--muted);
  font-size: 12px;
}
.bench-conflict {
  color: #e3ba8f;
}
.bench-inspector .upgrade-preview {
  margin: 16px 0 10px;
}
.bench-inspector .upgrade-preview-heading {
  font-size: 12px;
}
.bench-inspector .upgrade-preview-stats {
  font-size: 12px;
}
.bench-change-status {
  color: #bbd6bb;
}
.bench-edit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.bench-edit-actions button {
  font-size: 13px;
}
@media (max-width: 600px) {
  .bench-inspector {
    padding: 12px;
  }
  .bench-selectors > label {
    flex: 1 1 200px;
  }
  .bench-selectors select {
    width: 100%;
  }
  .bench-inspector .upgrade-preview-scenes {
    grid-template-columns: 1fr;
  }
}

.bench-choice[data-fitted='true'] {
  border-color: #b8d0b7;
  background: #2b3b36;
}
.operator-preview-controls {
  padding: 0 12px 10px;
}
.operator-preview-poses {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  justify-content: center;
}
.operator-preview-poses button {
  min-height: 34px;
  padding: 6px 8px;
  font-size: 11px;
  border: 1px solid transparent;
}
.operator-preview-poses button[aria-pressed='true'] {
  border-color: #7d9e91;
  background: #293a35;
  color: #edf0e5;
}
.operator-preview-poses button:focus-visible,
.operator-preview-actions :focus-visible {
  outline: 2px solid #a5c9b7;
  outline-offset: 2px;
}
.operator-preview-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: end;
  justify-content: center;
  margin-top: 12px;
}
.operator-preview-actions label {
  display: grid;
  gap: 5px;
  color: #b1beb6;
  font-size: 11px;
}
.operator-preview-actions select {
  max-width: 100%;
  padding: 7px 8px;
  color: #e2e7db;
  background: #172326;
  border: 1px solid #43564e;
  font: inherit;
  border-radius: 2px;
  min-height: 34px;
}
.operator-preview-actions button {
  font-size: 11px;
  min-height: 34px;
  padding: 6px 9px;
}
.operator-preview-actions button:disabled {
  opacity: 0.65;
  cursor: default;
}
.operator-preview-motion {
  color: #acbab0;
  font-size: 11px;
  text-align: center;
  margin: 10px 0 0;
}
.operator-preview-motion:empty {
  display: none;
}
@media (max-width: 600px) {
  .operator-preview-poses button {
    min-height: 40px;
    padding: 7px 10px;
  }
}
dialog.rematch-dialog {
  width: min(1280px, calc(100% - 24px));
  padding: 22px;
}
.rematch-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 12px;
}
.rematch-header h2 {
  font-size: clamp(25px, 3vw, 36px);
  margin: 0;
}
.rematch-header .eyebrow {
  margin-top: 0;
}
.rematch-scope,
.rematch-controls {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
  margin: 10px 0;
}
.rematch-guidance {
  margin: 8px 0 12px;
  font-size: 13px;
}
.rematch-guidance p {
  max-width: 78ch;
  line-height: 1.4;
  color: var(--muted);
}
.rematch-canvas {
  width: 100%;
  height: clamp(300px, 56vh, 640px);
  display: block;
  background: #101817;
  border: 1px solid #354440;
  touch-action: none;
  cursor: crosshair;
}
.rematch-canvas:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.rematch-footer {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-top: 12px;
  font-size: 13px;
}
.rematch-footer progress {
  width: 110px;
  flex-shrink: 0;
  accent-color: var(--accent);
}
.replay-guidance {
  font-size: 14px;
  line-height: 1.45;
  color: var(--muted);
  margin: 12px 0;
}
.rematch-touch {
  display: none;
  gap: 8px;
  margin: 12px 0;
}
@media (hover: none), (pointer: coarse) {
  .rematch-touch {
    display: flex;
    flex-wrap: wrap;
  }
  .rematch-touch button {
    min-width: 64px;
    min-height: 48px;
    touch-action: none;
  }
}
@media (max-width: 600px) {
  .rematch-header,
  .rematch-footer {
    flex-wrap: wrap;
  }
  dialog.rematch-dialog {
    padding: 16px;
  }
}

.rematch-phases {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 8px 0;
}
.rematch-phases button {
  min-height: 40px;
  padding: 7px 14px;
  font-size: 13px;
}
.rematch-phases button[aria-pressed='true'] {
  color: var(--ink);
  border-color: var(--accent);
  background: #263731;
}
.rematch-phases button:disabled {
  opacity: 0.45;
}

/* Keep the phase picker and practice controls together on laptop screens. */
dialog.rematch-dialog:has(.rematch-phases) .rematch-canvas {
  height: clamp(220px, calc(100dvh - 390px), 540px);
}
dialog.drill-dialog {
  width: min(960px, calc(100% - 32px));
}
.drill-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 20px;
}
.drill-header h2 {
  font-size: clamp(26px, 4vw, 36px);
  margin-bottom: 12px;
}
.drill-header .eyebrow {
  margin-top: 0;
}
.drill-header button {
  flex-shrink: 0;
}
.drill-instruction {
  margin: 0 0 8px;
  line-height: 1.5;
}
.drill-scope,
.drill-controls {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}
.drill-scope {
  margin: 0 0 16px;
}
.drill-canvas {
  width: 100%;
  height: clamp(200px, 27vw, 280px);
  display: block;
  border: 1px solid #354440;
  touch-action: none;
  background: #101817;
}
.drill-canvas:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.drill-progress {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  margin-top: 16px;
  font-size: 13px;
}
.drill-progress progress {
  width: min(230px, 100%);
  flex: 1;
  min-width: 90px;
  accent-color: var(--accent);
}
.drill-progress span {
  color: var(--muted);
}
.drill-cue {
  min-height: 2.6em;
  margin: 10px 0 0;
  line-height: 1.4;
  color: var(--accent);
}
.drill-controls {
  margin: 8px 0 18px;
}
.drill-touch {
  display: none;
  gap: 12px;
  margin: 10px 0 16px;
}
.drill-touch button {
  min-width: 52px;
  min-height: 44px;
  touch-action: none;
}
.drill-touch button:last-child {
  margin-left: auto;
}
.logbook-drill {
  margin: 12px 0;
}
@media (pointer: coarse) {
  .drill-touch {
    display: flex;
  }
}
@media (max-width: 540px) {
  .drill-header {
    flex-wrap: wrap;
    gap: 0 12px;
    margin-bottom: 12px;
  }
  .drill-header h2 {
    margin-bottom: 6px;
  }
  .drill-cue {
    min-height: 3em;
  }
}
.route-preview {
  position: absolute;
  z-index: 3;
  top: 64px;
  left: 50%;
  transform: translateX(-50%);
  width: min(260px, calc(100% - 32px));
  padding: 10px;
  border: 1px solid #4c625d;
  background: #132024f2;
  color: #e9eadf;
  box-shadow: 0 5px 18px #0004;
  pointer-events: none;
  font-size: 12px;
  line-height: 1.35;
}
.route-preview-label {
  display: block;
  margin-bottom: 3px;
  color: #a5beb7;
  font-size: 10px;
}
.route-preview strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
}
.route-preview canvas {
  width: 100%;
  height: auto;
  aspect-ratio: 320 / 136;
  margin: 8px 0 6px;
  border: 1px solid #314641;
}
.route-preview-traits {
  display: block;
  color: #bed0c7;
  font-size: 11px;
}
@media (max-height: 540px) {
  .route-preview {
    top: 48px;
    width: min(220px, calc(100% - 32px));
    padding: 7px;
  }
  .route-preview canvas {
    margin: 5px 0;
  }
}
.replay-timeline {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 12px;
  margin-top: 12px;
  color: var(--muted, #a8b6b3);
  font-size: 12px;
}
.replay-timeline output {
  font-variant-numeric: tabular-nums;
}
.replay-track {
  position: relative;
  grid-column: 1 / -1;
  padding-bottom: 6px;
}
#replay-scrub {
  display: block;
  width: 100%;
  margin: 0;
  accent-color: #e28b78;
  cursor: pointer;
}
#replay-scrub:disabled {
  cursor: default;
  opacity: 0.5;
}
#replay-scrub:focus-visible {
  outline: 2px solid #e6b373;
  outline-offset: 4px;
}
.replay-hit-marks {
  position: absolute;
  inset: 0 7px;
  pointer-events: none;
}
.replay-hit-marks span {
  position: absolute;
  top: 16px;
  width: 2px;
  height: 5px;
  background: #e28b78;
  transform: translateX(-1px);
}
.replay-hit-jumps {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 5px;
}
.replay-hit-jumps button {
  max-width: 100%;
  padding: 7px 9px;
  font-size: 12px;
  text-align: left;
  overflow-wrap: anywhere;
}
.replay-hit-detail {
  min-height: 1.4em;
  margin: 8px 0 0;
  font-size: 12px;
  color: var(--muted, #a8b6b3);
}
@media (max-width: 600px) {
  .replay-hit-jumps button {
    flex-basis: 100%;
  }
}
