/* Sudoku — Modal ayuda (solo Sudoku, no global) */

#aboutModal.modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

#aboutModal.modal.open {
  display: flex;
}

#aboutModal .modal-card {
  background: #fff;
  border-radius: 20px;
  width: calc(100% - 2rem);
  max-width: 520px;
  max-height: 85vh;
  overflow: auto;
  padding: 1.5rem 1.5rem 1.75rem;
  box-shadow: 0 20px 50px rgba(0,0,0,0.25);
  position: relative;
}

#aboutModal .modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  font-size: 1.25rem;
  background: transparent;
  border: none;
  cursor: pointer;
}

#aboutModal .modal-title {
  margin: 0 0 1rem;
  font-size: 1.4rem;
  font-weight: 900;
}

#aboutModal .modal-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

#aboutModal .modal-tabs .tab {
  flex: 1;
  padding: 0.6rem 0.75rem;
  border-radius: 10px;
  border: 1px solid var(--border, #e5e7eb);
  background: #f8fafc;
  font-weight: 700;
  cursor: pointer;
}

#aboutModal .modal-tabs .tab.active {
  background: #fff;
  border-color: var(--brand, #2563eb);
}

#aboutModal .tab-panel[hidden] {
  display: none;
}

#aboutModal .modal-actions {
  margin-top: 1.25rem;
  display: flex;
  justify-content: flex-end;
}

#aboutModal .disclaimer {
  font-size: 0.85rem;
  color: var(--muted, #64748b);
}
