/* Estilos restritos ao jogo: neutro claro, acentos Spark em laranja. */
#sp-game {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 2rem 0;
  padding: clamp(0.75rem, 3vw, 1.5rem);
  border: 2px solid #9a4311;
  border-radius: 1rem;
  background: #fff8ef;
  color: #292116;
  font: 1rem/1.65 system-ui, sans-serif;
  overflow-wrap: anywhere;
  color-scheme: light;
}
#sp-game *, #sp-game *::before, #sp-game *::after { box-sizing: border-box; min-width: 0; }
#sp-game [hidden] { display: none !important; }
#sp-game h3, #sp-game h4 { color: #402509; line-height: 1.4; margin: 0 0 1rem; }
#sp-game h4 { font-size: 1.15rem; }
#sp-game p { color: #3d3020; margin: 1rem 0; }
#sp-game #sp-progress { color: #82400f; font-weight: 700; }
#sp-game #sp-choices { display: grid; gap: 0.75rem; margin: 1rem 0; }
#sp-game button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  max-width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid #9a4311;
  border-radius: 0.625rem;
  background: #9a4311;
  color: #fff;
  font: inherit;
  font-weight: 700;
  line-height: 1.5;
  white-space: normal;
  overflow-wrap: anywhere;
  cursor: pointer;
  touch-action: manipulation;
}
#sp-game #sp-choices button { width: 100%; text-align: left; justify-content: flex-start; background: #fff; color: #3d3020; border-color: #a77541; }
#sp-game button:hover:not(:disabled) { background: #fbe1bc; color: #402509; }
#sp-game button:disabled { opacity: 1; cursor: default; border-color: #9b8a72; background: #eee5d9; color: #544632; }
#sp-game :focus-visible, #sp-game h4:focus { outline: 3px solid #224fb5; outline-offset: 3px; }
#sp-game #sp-status:not(:empty) { padding: 1rem; border-left: 4px solid #9a4311; background: #fbe8cf; }
#sp-game #sp-status[data-kind="success"] { border-color: #25623a; background: #e4f2e6; color: #1c4929; }
#sp-game #sp-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
#sp-game #sp-reset { background: #fff; color: #71340e; }
#sp-game #sp-report { padding: 1rem; border: 1px solid #a77541; border-radius: 0.625rem; background: #fff; }
@media (max-width: 400px) { #sp-game #sp-actions button { width: 100%; } }
