/* Exceção cromática solicitada: somente os erros têm texto vermelho. */
#feedback.error {
  color: #b00020;
  border-left-color: #b00020;
  font-weight: bold;
}
#success-message {
  position: fixed;
  z-index: 20;
  left: 50%;
  top: max(12px, env(safe-area-inset-top));
  transform: translateX(-50%);
  width: min(760px, calc(100% - 24px));
  background: #fff;
  color: #000;
  border: 6px double #000;
  padding: 14px 18px;
  font-family: VesperaBitmap, monospace;
  font-size: 23px;
  line-height: 1.25;
  box-shadow: 5px 5px 0 #000;
  pointer-events: none;
}
header nav {
  flex-wrap: wrap;
  max-width: 100%;
}
.music-options {
  border-top: 3px double #000;
  margin-top: 18px;
}
.music-options input[type="range"] {
  display: block;
  width: 100%;
  min-height: 44px;
}
button {
  touch-action: manipulation;
}
@media (max-width: 850px) {
  button,
  select,
  input {
    min-height: 44px;
  }
  nav {
    gap: 6px;
  }
  #success-message {
    font-size: 21px;
    padding: 10px 12px;
  }
  .code-panel {
    scroll-margin-top: 12px;
  }
}
#success-story {
  line-height: 1.25;
  max-height: 28vh;
  overflow-y: auto;
}
.story-chronicle h4 {
  margin-bottom: 4px;
}
.story-chronicle p {
  line-height: 1.4;
}
.story-recap {
  margin: 8px 0;
  font-size: 19px;
}
.story-recap summary {
  cursor: pointer;
}
