/* Todos os estilos pertencem somente à simulação deste artigo. */
#python-update-game {
  box-sizing: border-box;
  margin: 2rem 0;
  padding: clamp(1rem, 4vw, 2rem);
  border: 2px solid #315a88;
  border-radius: 1rem;
  background: #f3f7fc;
  color: #172b43;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

#python-update-game *,
#python-update-game *::before,
#python-update-game *::after {
  box-sizing: inherit;
}

#python-update-game [hidden] {
  display: none !important;
}

#python-update-game h2,
#python-update-game h3 {
  color: #172b43;
  line-height: 1.3;
}

#python-update-game [data-choices] {
  display: grid;
  gap: 0.75rem;
  margin: 1rem 0;
}

#python-update-game button {
  max-width: 100%;
  min-height: 44px;
  padding: 0.75rem 1rem;
  border: 2px solid #315a88;
  border-radius: 0.6rem;
  background: #fff;
  color: #172b43;
  font: inherit;
  line-height: 1.5;
  white-space: normal;
  overflow-wrap: anywhere;
  text-align: left;
  cursor: pointer;
}

#python-update-game button:hover:not(:disabled) {
  background: #dfebf8;
}

#python-update-game button:disabled {
  color: #42556a;
  background: #e8edf3;
  border-color: #708298;
  cursor: default;
}

#python-update-game button:focus-visible,
#python-update-game [data-title]:focus {
  outline: 3px solid #172b43;
  outline-offset: 4px;
}

#python-update-game [data-start],
#python-update-game [data-next] {
  color: #fff;
  background: #214e7b;
}

#python-update-game [data-start]:hover:not(:disabled),
#python-update-game [data-next]:hover:not(:disabled) {
  background: #163a5f;
}

#python-update-game [data-reset] {
  margin-top: 0.75rem;
}

#python-update-game progress {
  display: block;
  width: 100%;
  height: 1rem;
  margin: 0.75rem 0 1.5rem;
  accent-color: #214e7b;
}

#python-update-game [data-status] {
  font-weight: 700;
}

#python-update-game [data-feedback] {
  padding: 1rem;
  border-left: 4px solid #8a4b0b;
  border-radius: 0.4rem;
  background: #fff2db;
  color: #563008;
}

#python-update-game [data-feedback][data-result="correct"] {
  border-color: #226342;
  background: #e6f5eb;
  color: #16472e;
}

@media (max-width: 480px) {
  #python-update-game button {
    width: 100%;
  }
}
