/* Isolado do restante do artigo; o diagrama também é uma lista ordenada. */
#api-integration-game {
  box-sizing: border-box;
  max-width: 100%;
  min-width: 0;
  margin-block: 2rem;
  padding: clamp(1rem, 3vw, 2rem);
  border: 2px solid #42658a;
  border-radius: 1rem;
  background: #102238;
  color: #f4f7fb;
  font: 1rem/1.6 system-ui, sans-serif;
  overflow-wrap: anywhere;
  text-align: left;
}
#api-integration-game *,
#api-integration-game *::before,
#api-integration-game *::after { box-sizing: border-box; }
#api-integration-game [hidden] { display: none !important; }
#api-integration-game h2,
#api-integration-game h3 { color: #fff; line-height: 1.3; margin-block: 1rem; }
#api-integration-game p,
#api-integration-game li { color: inherit; font-size: 1rem; line-height: 1.6; }
#api-integration-game button {
  display: inline-block;
  max-width: 100%;
  min-width: 0;
  min-height: 44px;
  margin: .35rem .35rem .35rem 0;
  padding: .75rem 1rem;
  border: 2px solid #9dc9fa;
  border-radius: .6rem;
  background: #e2efff;
  color: #102238;
  font: inherit;
  font-weight: 650;
  line-height: 1.4;
  white-space: normal;
  overflow-wrap: anywhere;
  text-align: left;
  cursor: pointer;
}
#api-integration-game button:hover:not(:disabled) { background: #fff; border-color: #fff; }
#api-integration-game button:disabled { opacity: 1; color: #d4deea; background: #263b52; border-color: #71869e; cursor: default; }
#api-integration-game :focus { outline: 3px solid #ffd166; outline-offset: 3px; }
#api-integration-game [data-choices] { display: grid; gap: .5rem; margin-block: 1rem; min-width: 0; }
#api-integration-game [data-choices] button { width: 100%; margin: 0; }
#api-integration-game progress { display: block; width: 100%; height: 1.2rem; accent-color: #6ee7b7; margin-block: .75rem 1.5rem; }
#api-integration-game [data-flow] { padding-left: 1.8rem; margin-block: 1.5rem; }
#api-integration-game [data-flow] li { background: #1d3651; border: 1px solid #6c8eb3; border-left: 4px solid #6ee7b7; border-radius: .4rem; padding: .65rem .8rem; margin-block: .65rem; }
#api-integration-game [data-flow] li::marker { color: #6ee7b7; font-weight: 700; }
#api-integration-game [data-feedback] { padding: .85rem; border: 2px solid #ffd166; border-radius: .5rem; color: #fff3d0; background: #3d3016; }
#api-integration-game [data-feedback][data-result="correct"] { border-color: #6ee7b7; color: #d9fff0; background: #103c31; }
